##// END OF EJS Templates
tests: in test-split.t, save a "clean" copy of pre-split repo for later use...
Kyle Lippincott -
r38431:a0e185f1 @48 default
parent child Browse files
Show More
@@ -91,10 +91,11 b' Cannot split while working directory is '
91 $ hg forget dirty
91 $ hg forget dirty
92 $ rm dirty
92 $ rm dirty
93
93
94 Split a head
94 Make a clean directory for future tests to build off of
95
95
96 $ cp -R . ../b
96 $ cp -R . ../clean
97 $ cp -R . ../c
97
98 Split a head
98
99
99 $ hg bookmark r3
100 $ hg bookmark r3
100
101
@@ -263,6 +264,7 b' Split a head'
263
264
264 Split a head while working parent is not that head
265 Split a head while working parent is not that head
265
266
267 $ cp -R $TESTTMP/clean $TESTTMP/b
266 $ cd $TESTTMP/b
268 $ cd $TESTTMP/b
267
269
268 $ hg up 0 -q
270 $ hg up 0 -q
@@ -302,6 +304,7 b' Split a head while working parent is not'
302
304
303 Split a non-head
305 Split a non-head
304
306
307 $ cp -R $TESTTMP/clean $TESTTMP/c
305 $ cd $TESTTMP/c
308 $ cd $TESTTMP/c
306 $ echo d > d
309 $ echo d > d
307 $ hg ci -m d1 -A d
310 $ hg ci -m d1 -A d
General Comments 0
You need to be logged in to leave comments. Login now