Commit bf429405 authored by tandrii's avatar tandrii Committed by Commit bot

git cl land to refs/pending: remove unused arg.

R=iannucci@chromium.org
BUG=642493

Review-Url: https://codereview.chromium.org/2322783002
parent 73449b0b
......@@ -4214,7 +4214,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()
......@@ -4321,7 +4321,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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment