diff tests/test-close-head.t @ 42295:fdd4d668ceb5

context: move contents of committablectx.markcommitted() to workingctx Same reasoning as previous commits: this function updates the dirstate. By not updating the dirstate here, we also fix the close-head test. Differential Revision: https://phab.mercurial-scm.org/D6365
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 10 May 2019 21:55:59 -0700
parents c51b103220c7
children
line wrap: on
line diff
--- a/tests/test-close-head.t	Fri May 10 22:18:11 2019 -0700
+++ b/tests/test-close-head.t	Fri May 10 21:55:59 2019 -0700
@@ -37,7 +37,7 @@
   000000000000
   $ hg --config extensions.closehead= close-head -m 'Close old heads' -r 1 2
   $ hg id
-  340d36cac2f4 tip
+  000000000000
   $ hg bookmark
      @                         1:66f7d451a68b
   $ hg heads