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

Unified Diff: checkout.py

Issue 204013002: Revert making apply_issue assume 'master' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 9 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
« apply_issue.py ('K') | « apply_issue.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: checkout.py
diff --git a/checkout.py b/checkout.py
index b21f03c7ee3dda776afa82b67a647e71a0899088..30887575593c8fe1255af09bbaa76340c37714b4 100644
--- a/checkout.py
+++ b/checkout.py
@@ -562,7 +562,6 @@ class GitCheckout(CheckoutBase):
self.git_url = git_url
self.commit_user = commit_user
self.remote_branch = remote_branch
- assert self.remote_branch
# The working branch where patches will be applied. It will track the
# remote branch.
self.working_branch = 'working_branch'
@@ -625,8 +624,7 @@ class GitCheckout(CheckoutBase):
# trying again?
if self.remote_branch:
self._check_call_git(
- ['checkout',
- '-b', self.working_branch,
+ ['checkout', '-b', self.working_branch,
'-t', '%s/%s' % (self.pull_remote, self.remote_branch),
'--quiet'])
« apply_issue.py ('K') | « apply_issue.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698