diff options
-rw-r--r-- | subcmds/upload.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py index 50dccc52..a23755c7 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py | |||
@@ -520,10 +520,10 @@ Gerrit Code Review: https://www.gerritcodereview.com/ | |||
520 | avail = [up_branch] | 520 | avail = [up_branch] |
521 | else: | 521 | else: |
522 | avail = None | 522 | avail = None |
523 | print('repo: error: Unable to upload branch "%s". ' | 523 | print('repo: error: %s: Unable to upload branch "%s". ' |
524 | 'You might be able to fix the branch by running:\n' | 524 | 'You might be able to fix the branch by running:\n' |
525 | ' git branch --set-upstream-to m/%s' % | 525 | ' git branch --set-upstream-to m/%s' % |
526 | (str(cbr), self.manifest.branch), | 526 | (project.relpath, str(cbr), self.manifest.branch), |
527 | file=sys.stderr) | 527 | file=sys.stderr) |
528 | else: | 528 | else: |
529 | avail = project.GetUploadableBranches(branch) | 529 | avail = project.GetUploadableBranches(branch) |