[Updated] D8643: absorb: make it clear what happens when no input
khanchi97 (Sushil khanchi)
phabricator at mercurial-scm.org
Mon Jun 22 10:21:31 UTC 2020
Closed by commit rHG65d19d9c8e76: absorb: make it clear what happens when no input (authored by khanchi97).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8643?vs=21670&id=21683
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8643/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8643
AFFECTED FILES
hgext/absorb.py
tests/test-absorb.t
CHANGE DETAILS
diff --git a/tests/test-absorb.t b/tests/test-absorb.t
--- a/tests/test-absorb.t
+++ b/tests/test-absorb.t
@@ -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
diff --git a/hgext/absorb.py b/hgext/absorb.py
--- a/hgext/absorb.py
+++ b/hgext/absorb.py
@@ -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'))
To: khanchi97, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200622/3669b1d4/attachment-0002.html>
More information about the Mercurial-patches
mailing list