contrib/phabricator.py
changeset 33977 edeb8f28c031
parent 33976 27ff2a87d8c0
child 33978 088598153aa2
--- a/contrib/phabricator.py	Thu Aug 24 17:25:18 2017 -0700
+++ b/contrib/phabricator.py	Thu Aug 24 17:31:33 2017 -0700
@@ -475,6 +475,7 @@
                               (r'node', 'Node ID'), (r'parent', 'Parent ')])
 
 def _confirmbeforesend(repo, revs):
+    url, token = readurltoken(repo)
     ui = repo.ui
     for rev in revs:
         ctx = repo[rev]
@@ -482,8 +483,8 @@
         ui.write(('%d: ' % rev), label='phabsend.revnumber')
         ui.write(('%s\n' % desc), label='phabsend.desc')
 
-    if ui.promptchoice(_('Phabsend the above changes (yn)?'
-                            '$$ &Yes $$ &No')):
+    if ui.promptchoice(_('Send the above changes to %s (yn)?'
+                         '$$ &Yes $$ &No') % url):
         return False
 
     return True