tests: fix test-prune.t breakage stable
authorDurham Goode <durham@fb.com>
Mon, 07 Apr 2014 16:41:29 -0700
branchstable
changeset 902 69872cef6053
parent 901 4f84b3307dc2
child 907 c17ab719da56
child 910 e911d1da89df
tests: fix test-prune.t breakage test-prune.t was broken due to 91d28bd0e04e in upstream Mercurial, which made hidden commits visible when a local tag made the commit reachable. The fix is to delete the tag in the test.
tests/test-prune.t
--- a/tests/test-prune.t	Mon Apr 14 18:16:35 2014 +0200
+++ b/tests/test-prune.t	Mon Apr 07 16:41:29 2014 -0700
@@ -236,6 +236,7 @@
   bookmark 'nostrip' deleted
   abort: nothing to prune
   [255]
+  $ hg tag --remove --local a
   $ hg prune -B todelete
   1 changesets pruned
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -252,6 +253,7 @@
   $ hg prune -B delete
   3 changesets pruned
   bookmark 'delete' deleted
+  $ hg tag --remove --local c
   $ hg id -ir 6:2702dd0c91e7
   abort: unknown revision '2702dd0c91e7'!
   [255]