test: adapt to new hidden-changeset message
authorPierre-Yves David <pierre-yves.david@fb.com>
Mon, 20 Oct 2014 15:53:00 -0700
changeset 1133 8b3b0549a4b6
parent 1132 7a1784a1c642
child 1134 7173c70ab2c3
test: adapt to new hidden-changeset message From c1aede895072 we have a nicer error message when accessing public changesets: abort: hidden revision '6'! (use --hidden to access hidden revisions)
tests/test-evolve.t
tests/test-prune.t
tests/test-userguide.t
--- a/tests/test-evolve.t	Fri Oct 17 17:43:52 2014 -0400
+++ b/tests/test-evolve.t	Mon Oct 20 15:53:00 2014 -0700
@@ -636,7 +636,8 @@
   3 changesets folded
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg fold 6 # want to run hg fold 6
-  abort: unknown revision '6'!
+  abort: hidden revision '6'!
+  (use --hidden to access hidden revisions)
   [255]
   $ hg log -r 11 --template '{desc}\n'
   add 3
--- a/tests/test-prune.t	Fri Oct 17 17:43:52 2014 -0400
+++ b/tests/test-prune.t	Mon Oct 20 15:53:00 2014 -0700
@@ -250,7 +250,8 @@
   working directory now at d62d843c9a01
   bookmark 'todelete' deleted
   $ hg id -ir dcbb326fdec2
-  abort: unknown revision 'dcbb326fdec2'!
+  abort: hidden revision 'dcbb326fdec2'!
+  (use --hidden to access hidden revisions)
   [255]
   $ hg id -ir d62d843c9a01
   d62d843c9a01
@@ -262,7 +263,8 @@
   bookmark 'delete' deleted
   $ hg tag --remove --local c
   $ hg id -ir 6:2702dd0c91e7
-  abort: unknown revision '2702dd0c91e7'!
+  abort: hidden revision '6'!
+  (use --hidden to access hidden revisions)
   [255]
 
   $ hg debugobsstorestat
--- a/tests/test-userguide.t	Fri Oct 17 17:43:52 2014 -0400
+++ b/tests/test-userguide.t	Mon Oct 20 15:53:00 2014 -0700
@@ -38,7 +38,8 @@
   $ echo 'tweak feature Y' >> file1.c
   $ hg commit --amend -u alice -d '2 0' -m 'implement feature Y'
   $ hg shortlog -q -r fe0ecd3bd2a4
-  abort: unknown revision 'fe0ecd3bd2a4'!
+  abort: hidden revision 'fe0ecd3bd2a4'!
+  (use --hidden to access hidden revisions)
   [255]
   $ hg --hidden shortlog -G
   @  3:934359450037  draft  implement feature Y