Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: update_depot_tools.bat

Issue 23619058: Indicate when depot_tools can't be updated on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Rebased Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_depot_tools.bat
diff --git a/update_depot_tools.bat b/update_depot_tools.bat
index 20ac0d7cd45bf214220a1eca40708e7f4cc9358a..58d3d849738edef1d9c4280add83ab79c7a872f0 100644
--- a/update_depot_tools.bat
+++ b/update_depot_tools.bat
@@ -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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698