##// END OF EJS Templates
patchbomb: resolve revs before evaluating %ld revset...
Gregory Szorc -
r36428:67ec4ad8 default
parent child Browse files
Show More
@@ -654,8 +654,9 b' def email(ui, repo, *revs, **opts):'
654 654 else:
655 655 msg = _('public url %s is missing %s')
656 656 msg %= (publicurl, missing[0])
657 missingrevs = [ctx.rev() for ctx in missing]
657 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 660 hint = _("use 'hg push %s %s'") % (publicurl, revhint)
660 661 raise error.Abort(msg, hint=hint)
661 662
General Comments 0
You need to be logged in to leave comments. Login now