mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
Indicate when depot_tools can't be updated on Windows.
When depot_tools fail to update right now all you get is
Cannot rebase: You have unstaged changes.
Please commit or stash them.
As that is typically in a call to gclient it's far from obvious what
could not be updated so add a line saying
Failed to update depot_tools.
to that. Linux and Mac already have a similar error message in their
script file.
BUG=
R=szager@chromium.org
Review URL: https://codereview.chromium.org/23619058
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@226002 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
@@ -60,6 +60,8 @@ for /F %%x in ('git config --get remote.origin.url') DO (
|
||||
)
|
||||
call git fetch -q origin > NUL
|
||||
call git rebase -q origin/master > NUL
|
||||
if errorlevel 1 echo Failed to update depot_tools.
|
||||
|
||||
goto :EOF
|
||||
|
||||
:GIT_SVN_UPDATE
|
||||
|
||||
Reference in New Issue
Block a user