# HG changeset patch # User Sushil khanchi # Date 1592634094 -19800 # Node ID 65d19d9c8e767c6ae473b43473bc840f93060952 # Parent 62bdb288c4493fbc0fc1b5c6fc745da03bcbc653 absorb: make it clear what happens when no input Differential Revision: https://phab.mercurial-scm.org/D8643 diff -r 62bdb288c449 -r 65d19d9c8e76 hgext/absorb.py --- 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')) diff -r 62bdb288c449 -r 65d19d9c8e76 tests/test-absorb.t --- 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