hgext/transplant.py
changeset 38376 c7eb9bce6041
parent 38375 365a78daf735
child 39793 b63dee7bd0d9
--- a/hgext/transplant.py	Mon Jun 18 16:06:01 2018 +0530
+++ b/hgext/transplant.py	Mon Jun 18 16:06:28 2018 +0530
@@ -523,7 +523,8 @@
         displayer.show(repo[node])
         action = None
         while not action:
-            action = 'ynmpcq?'[ui.promptchoice(prompt)]
+            choice = ui.promptchoice(prompt)
+            action = 'ynmpcq?'[choice:choice + 1]
             if action == '?':
                 for c, t in ui.extractchoices(prompt)[1]:
                     ui.write('%s: %s\n' % (c, t))