Patchwork D6364: tests: demonstrate that close-head command updates working copy

login
register
mail settings
Submitter phabricator
Date May 15, 2019, 6:03 p.m.
Message ID <92bec05d1f97a05aed6124d8918db40a@localhost.localdomain>
Download mbox | patch
Permalink /patch/40051/
State Not Applicable
Headers show

Comments

phabricator - May 15, 2019, 6:03 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc51b103220c7: tests: demonstrate that close-head command updates working copy (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6364?vs=15058&id=15106

REVISION DETAIL
  https://phab.mercurial-scm.org/D6364

AFFECTED FILES
  tests/test-close-head.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-close-head.t b/tests/test-close-head.t
--- a/tests/test-close-head.t
+++ b/tests/test-close-head.t
@@ -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