Show More
@@ -475,6 +475,7 b' def phabsend(ui, repo, *revs, **opts):' | |||||
475 | (r'node', 'Node ID'), (r'parent', 'Parent ')]) |
|
475 | (r'node', 'Node ID'), (r'parent', 'Parent ')]) | |
476 |
|
476 | |||
477 | def _confirmbeforesend(repo, revs): |
|
477 | def _confirmbeforesend(repo, revs): | |
|
478 | url, token = readurltoken(repo) | |||
478 | ui = repo.ui |
|
479 | ui = repo.ui | |
479 | for rev in revs: |
|
480 | for rev in revs: | |
480 | ctx = repo[rev] |
|
481 | ctx = repo[rev] | |
@@ -482,8 +483,8 b' def _confirmbeforesend(repo, revs):' | |||||
482 | ui.write(('%d: ' % rev), label='phabsend.revnumber') |
|
483 | ui.write(('%d: ' % rev), label='phabsend.revnumber') | |
483 | ui.write(('%s\n' % desc), label='phabsend.desc') |
|
484 | ui.write(('%s\n' % desc), label='phabsend.desc') | |
484 |
|
485 | |||
485 |
if ui.promptchoice(_(' |
|
486 | if ui.promptchoice(_('Send the above changes to %s (yn)?' | |
486 |
|
|
487 | '$$ &Yes $$ &No') % url): | |
487 | return False |
|
488 | return False | |
488 |
|
489 | |||
489 | return True |
|
490 | return True |
General Comments 0
You need to be logged in to leave comments.
Login now