tests: fix test-prune.t breakage
authorDurham Goode <durham@fb.com>
Mon, 07 Apr 2014 16:41:29 -0700
changeset 899 4c305b8d4259
parent 898 934b6f0feffd
child 900 98b5ac44a259
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	Sat Apr 12 23:16:02 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]