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

Unified Diff: git_cl.py

Issue 2322783002: git cl land to refs/pending: remove unused arg. (Closed)
Patch Set: Created 4 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: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index a11004953222dad96fe29bbaf7cbefa72a78dac7..b669bc3c8311b69a54d72e0cf2800113dd78209d 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -4197,7 +4197,7 @@ def SendUpstream(parser, args, cmd):
assert branch.startswith('refs/'), branch
assert pending_prefix[-1] == '/', pending_prefix
pending_ref = pending_prefix + branch[len('refs/'):]
- retcode, output = PushToGitPending(pushurl, pending_ref, branch)
+ retcode, output = PushToGitPending(pushurl, pending_ref)
pushed_to_pending = (retcode == 0)
if retcode == 0:
revision = RunGit(['rev-parse', 'HEAD']).strip()
@@ -4304,7 +4304,7 @@ def WaitForRealCommit(remote, pushed_commit, local_base_ref, real_ref):
current_rev = to_rev
-def PushToGitPending(remote, pending_ref, upstream_ref):
+def PushToGitPending(remote, pending_ref):
"""Fetches pending_ref, cherry-picks current HEAD on top of it, pushes.
Returns:
« 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