##// END OF EJS Templates
discovery: tweak error message for multiple branch heads
Mads Kiilerich -
r20050:877e05b4 default
parent child Browse files
Show More
@@ -313,8 +313,8 b' def checkheads(repo, remote, outgoing, r'
313 if 1 < len(newhs):
313 if 1 < len(newhs):
314 dhs = list(newhs)
314 dhs = list(newhs)
315 if error is None:
315 if error is None:
316 error = (_("push creates multiple headed new branch '%s'")
316 error = (_("push creates new branch '%s' "
317 % (branch))
317 "with multiple heads") % (branch))
318 hint = _("merge or"
318 hint = _("merge or"
319 " see \"hg help push\" for details about"
319 " see \"hg help push\" for details about"
320 " pushing new heads")
320 " pushing new heads")
@@ -367,7 +367,7 b' Pushing muliple headed new branch:'
367 $ hg push --branch f --new-branch ../f
367 $ hg push --branch f --new-branch ../f
368 pushing to ../f
368 pushing to ../f
369 searching for changes
369 searching for changes
370 abort: push creates multiple headed new branch 'f'
370 abort: push creates new branch 'f' with multiple heads
371 (merge or see "hg help push" for details about pushing new heads)
371 (merge or see "hg help push" for details about pushing new heads)
372 [255]
372 [255]
373 $ hg push --branch f --new-branch --force ../f
373 $ hg push --branch f --new-branch --force ../f
General Comments 0
You need to be logged in to leave comments. Login now