tests/test-prev-next.t
changeset 2737 66278c4d9c07
parent 2443 6a23a55f77d2
child 2738 3f27fe80be26
--- a/tests/test-prev-next.t	Fri Jul 14 01:12:20 2017 +0200
+++ b/tests/test-prev-next.t	Fri Jul 14 01:21:32 2017 +0200
@@ -5,7 +5,8 @@
   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
 
 hg prev -B should move active bookmark
-  $ hg init
+  $ hg init test-repo
+  $ cd test-repo
   $ touch a
   $ hg add a
   $ hg commit -m 'added a'
@@ -216,6 +217,8 @@
   atop:[6] added b (3)
   working directory is now at 47ea25be8aea
 
+  $ cd ..
+
 prev and next should lock properly against other commands
 
   $ hg init repo