diff --git a/subcmds/push.py b/subcmds/push.py index dda64d6..4d664a5 100644 --- a/subcmds/push.py +++ b/subcmds/push.py @@ -404,6 +404,7 @@ Gerrit Code Review: http://code.google.com/p/gerrit/ # if not create new branch, check whether branch has new commit. for project in project_list: + project.SetMirrorUrl() branch_tmp = branch if branch else project.CurrentBranch if (not opt.new_branch and project.GetUploadableBranch(branch_tmp) is None):