changeset 899:4c305b8d4259

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.
author Durham Goode <durham@fb.com>
date Mon, 07 Apr 2014 16:41:29 -0700
parents 934b6f0feffd
children 98b5ac44a259
files tests/test-prune.t
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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]