Mercurial > hg
changeset 42294:c51b103220c7
tests: demonstrate that close-head command updates working copy
The help text for the command says "...it doesn't change the working
directory", so I don't think this is intentional.
Differential Revision: https://phab.mercurial-scm.org/D6364
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 10 May 2019 22:18:11 -0700 |
parents | 4fbfc893e6b9 |
children | fdd4d668ceb5 |
files | tests/test-close-head.t |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-close-head.t Fri May 10 21:53:41 2019 -0700 +++ b/tests/test-close-head.t Fri May 10 22:18:11 2019 -0700 @@ -33,7 +33,11 @@ $ hg --config extensions.closehead= close-head -m 'Not a head' -r 0 1 abort: revision is not an open head: 0 [255] + $ hg id + 000000000000 $ hg --config extensions.closehead= close-head -m 'Close old heads' -r 1 2 + $ hg id + 340d36cac2f4 tip $ hg bookmark @ 1:66f7d451a68b $ hg heads