Show More
@@ -570,7 +570,7 b' def email(ui, repo, *revs, **opts):' | |||||
570 | else: |
|
570 | else: | |
571 | msg = _('public url %s is missing %s') |
|
571 | msg = _('public url %s is missing %s') | |
572 | msg %= (publicurl, missing[0]) |
|
572 | msg %= (publicurl, missing[0]) | |
573 | revhint = ''.join('-r %s' % h |
|
573 | revhint = ' '.join('-r %s' % h | |
574 | for h in repo.set('heads(%ld)', missing)) |
|
574 | for h in repo.set('heads(%ld)', missing)) | |
575 | hint = _('use "hg push %s %s"') % (publicurl, revhint) |
|
575 | hint = _('use "hg push %s %s"') % (publicurl, revhint) | |
576 | raise error.Abort(msg, hint=hint) |
|
576 | raise error.Abort(msg, hint=hint) |
@@ -2899,3 +2899,11 b' node missing at public' | |||||
2899 | abort: public url $TESTTMP/t3 is missing 3b6f1ec9dde9 |
|
2899 | abort: public url $TESTTMP/t3 is missing 3b6f1ec9dde9 | |
2900 | (use "hg push $TESTTMP/t3 -r 3b6f1ec9dde9") |
|
2900 | (use "hg push $TESTTMP/t3 -r 3b6f1ec9dde9") | |
2901 | [255] |
|
2901 | [255] | |
|
2902 | ||||
|
2903 | multiple heads are missing at public | |||
|
2904 | ||||
|
2905 | $ hg email --date '1980-1-1 0:1' -t foo -s test -r '2+10' | |||
|
2906 | abort: public "$TESTTMP/t3" is missing ff2c9fa2018b and 1 others | |||
|
2907 | (use "hg push $TESTTMP/t3 -r ff2c9fa2018b -r 3b6f1ec9dde9") | |||
|
2908 | [255] | |||
|
2909 |
General Comments 0
You need to be logged in to leave comments.
Login now