changeset 902:69872cef6053 stable

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 4f84b3307dc2
children c17ab719da56 e911d1da89df
files tests/test-prune.t
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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]