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

Unified Diff: git_cl.py

Issue 8201012: Do not throw an exception if git cl rebase fails. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 2 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: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index 9946999c639b4bfd50edd3ab5011b9f97e18a400..58cbd680cd7f7cf990b38a7c31c61390e422e631 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1302,8 +1302,7 @@ def CMDrebase(parser, args):
# git svn dcommit.
# It's the only command that doesn't use parser at all since we just defer
# execution to git-svn.
- subprocess2.check_call(['git', 'svn', 'rebase'] + args)
- return 0
+ return subprocess2.call(['git', 'svn', 'rebase'] + args)
def GetTreeStatus():
« 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