Mercurial > hg-stable
diff tests/test-amend.t @ 42938:09d46b90f6f9
amend: enable support for closing the branch
This comes from the evolve extension's version of amend. The logic was already
in place.
Differential Revision: https://phab.mercurial-scm.org/D6855
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 14 Sep 2019 23:40:12 -0400 |
parents | ce52377102db |
children | f10a0f5eedae |
line wrap: on
line diff
--- a/tests/test-amend.t Sat Sep 14 18:44:18 2019 -0400 +++ b/tests/test-amend.t Sat Sep 14 23:40:12 2019 -0400 @@ -450,6 +450,12 @@ abort: --date and --currentdate are mutually exclusive [255] +Close branch + + $ hg amend --close-branch + $ hg log --limit 1 -T 'close={get(extras, "close")}\n' + close=1 + $ cd .. Corner case of amend from issue6157: