comparison tests/test-prev-next.t @ 2737:66278c4d9c07

prev: stop creating a repository at the root of 'test-repo.t' We run the test in a subdirectory now, this usually avoid various kind of future issue.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 14 Jul 2017 01:21:32 +0200
parents 6a23a55f77d2
children 3f27fe80be26
comparison
equal deleted inserted replaced
2736:3c87d5276394 2737:66278c4d9c07
3 > hgext.graphlog= 3 > hgext.graphlog=
4 > EOF 4 > EOF
5 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH 5 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
6 6
7 hg prev -B should move active bookmark 7 hg prev -B should move active bookmark
8 $ hg init 8 $ hg init test-repo
9 $ cd test-repo
9 $ touch a 10 $ touch a
10 $ hg add a 11 $ hg add a
11 $ hg commit -m 'added a' 12 $ hg commit -m 'added a'
12 $ touch b 13 $ touch b
13 $ hg add b 14 $ hg add b
214 $ hg evolve -r 5 215 $ hg evolve -r 5
215 move:[5] added d 216 move:[5] added d
216 atop:[6] added b (3) 217 atop:[6] added b (3)
217 working directory is now at 47ea25be8aea 218 working directory is now at 47ea25be8aea
218 219
220 $ cd ..
221
219 prev and next should lock properly against other commands 222 prev and next should lock properly against other commands
220 223
221 $ hg init repo 224 $ hg init repo
222 $ cd repo 225 $ cd repo
223 $ HGEDITOR=${TESTDIR}/fake-editor.sh 226 $ HGEDITOR=${TESTDIR}/fake-editor.sh