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

Unified Diff: apply_issue.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
« no previous file with comments | « no previous file | checkout.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apply_issue.py
diff --git a/apply_issue.py b/apply_issue.py
index 3d235ea91a687abb87956e3bce1fd2d928ef26f6..690db0d323e4f545af0544288846548b0bb396a3 100755
--- a/apply_issue.py
+++ b/apply_issue.py
@@ -161,13 +161,8 @@ def main():
if scm_type == 'svn':
scm_obj = checkout.SvnCheckout(full_dir, None, None, None, None)
elif scm_type == 'git':
- scm_obj = checkout.GitCheckout(root_dir=full_dir,
- project_name=None,
- remote_branch='master',
- git_url=None,
- commit_user=None,
- base_ref=options.base_ref,
- post_processors=None)
+ scm_obj = checkout.GitCheckout(full_dir, None, None, None, None,
+ base_ref=options.base_ref,)
M-A Ruel 2014/03/19 00:55:23 I think I prefer the named arguments, since it's a
elif scm_type == None:
scm_obj = checkout.RawCheckout(full_dir, None, None)
else:
« no previous file with comments | « no previous file | checkout.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698