changeset 44991:65d19d9c8e76

absorb: make it clear what happens when no input Differential Revision: https://phab.mercurial-scm.org/D8643
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Sat, 20 Jun 2020 11:51:34 +0530
parents 62bdb288c449
children 484e04dc7f42
files hgext/absorb.py tests/test-absorb.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/absorb.py	Wed Jun 17 17:46:30 2020 +0530
+++ b/hgext/absorb.py	Sat Jun 20 11:51:34 2020 +0530
@@ -1051,7 +1051,7 @@
             not opts.get(b'apply_changes')
             and state.ctxaffected
             and ui.promptchoice(
-                b"apply changes (yn)? $$ &Yes $$ &No", default=1
+                b"apply changes (y/N)? $$ &Yes $$ &No", default=1
             )
         ):
             raise error.Abort(_(b'absorb cancelled\n'))
--- a/tests/test-absorb.t	Wed Jun 17 17:46:30 2020 +0530
+++ b/tests/test-absorb.t	Sat Jun 20 11:51:34 2020 +0530
@@ -97,7 +97,7 @@
   84e5416 commit 5
   ff5d556 commit 3
   f548282 commit 1
-  apply changes (yn)?  y
+  apply changes (y/N)?  y
   saved backup bundle to * (glob)
   3 of 3 chunk(s) applied
   $ hg annotate a