Show More
@@ -654,8 +654,9 b' def email(ui, repo, *revs, **opts):' | |||||
654 | else: |
|
654 | else: | |
655 | msg = _('public url %s is missing %s') |
|
655 | msg = _('public url %s is missing %s') | |
656 | msg %= (publicurl, missing[0]) |
|
656 | msg %= (publicurl, missing[0]) | |
|
657 | missingrevs = [ctx.rev() for ctx in missing] | |||
657 | revhint = ' '.join('-r %s' % h |
|
658 | revhint = ' '.join('-r %s' % h | |
658 | for h in repo.set('heads(%ld)', missing)) |
|
659 | for h in repo.set('heads(%ld)', missingrevs)) | |
659 | hint = _("use 'hg push %s %s'") % (publicurl, revhint) |
|
660 | hint = _("use 'hg push %s %s'") % (publicurl, revhint) | |
660 | raise error.Abort(msg, hint=hint) |
|
661 | raise error.Abort(msg, hint=hint) | |
661 |
|
662 |
General Comments 0
You need to be logged in to leave comments.
Login now