summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subcmds/upload.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py
index cc6ccf74..f441aae4 100644
--- a/subcmds/upload.py
+++ b/subcmds/upload.py
@@ -554,10 +554,10 @@ Gerrit Code Review: https://www.gerritcodereview.com/
554 avail = [up_branch] 554 avail = [up_branch]
555 else: 555 else:
556 avail = None 556 avail = None
557 print('ERROR: Current branch (%s) not uploadable. ' 557 print('repo: error: Unable to upload branch "%s". '
558 'You may be able to type ' 558 'You might be able to fix the branch by running:\n'
559 '"git branch --set-upstream-to m/master" to fix ' 559 ' git branch --set-upstream-to m/%s' %
560 'your branch.' % str(cbr), 560 (str(cbr), self.manifest.branch),
561 file=sys.stderr) 561 file=sys.stderr)
562 else: 562 else:
563 avail = project.GetUploadableBranches(branch) 563 avail = project.GetUploadableBranches(branch)