##// END OF EJS Templates
test-interactive: use stable EOL in various file generating routines...
Matt Harbison -
r24434:f169405c default
parent child Browse files
Show More
@@ -45,7 +45,7 b' Committing some changes'
45 Committing only one file
45 Committing only one file
46
46
47 $ echo "a" >> a
47 $ echo "a" >> a
48 $ python $TESTDIR/seq.py 1 10 > b
48 >>> open('b', 'wb').write("1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n")
49 $ hg add b
49 $ hg add b
50 $ cat <<EOF >testModeCommands
50 $ cat <<EOF >testModeCommands
51 > TOGGLE
51 > TOGGLE
@@ -21,13 +21,17 b' 10 run the same test than 8 from within '
21 $ mkdir -p a/folder1 a/folder2
21 $ mkdir -p a/folder1 a/folder2
22 $ cd a
22 $ cd a
23 $ hg init
23 $ hg init
24 $ python $TESTDIR/seq.py 1 5 > f ; hg add f ; hg commit -m "adding f"
24 >>> open('f', 'wb').write("1\n2\n3\n4\n5\n")
25 $ hg add f ; hg commit -m "adding f"
25 $ cat f > folder1/g ; hg add folder1/g ; hg commit -m "adding folder1/g"
26 $ cat f > folder1/g ; hg add folder1/g ; hg commit -m "adding folder1/g"
26 $ cat f > folder2/h ; hg add folder2/h ; hg commit -m "adding folder2/h"
27 $ cat f > folder2/h ; hg add folder2/h ; hg commit -m "adding folder2/h"
27 $ cat f > folder1/i ; hg add folder1/i ; hg commit -m "adding folder1/i"
28 $ cat f > folder1/i ; hg add folder1/i ; hg commit -m "adding folder1/i"
28 $ echo "a" > f ; python $TESTDIR/seq.py 1 5 >> f ; echo "b" >> f ; hg commit -m "modifying f"
29 >>> open('f', 'wb').write("a\n1\n2\n3\n4\n5\nb\n")
29 $ echo "c" > folder1/g ; python $TESTDIR/seq.py 1 5 >> folder1/g ; echo "d" >> folder1/g ; hg commit -m "modifying folder1/g"
30 $ hg commit -m "modifying f"
30 $ echo "e" > folder2/h ; python $TESTDIR/seq.py 1 5 >> folder2/h ; echo "f" >> folder2/h ; hg commit -m "modifying folder2/h"
31 >>> open('folder1/g', 'wb').write("c\n1\n2\n3\n4\n5\nd\n")
32 $ hg commit -m "modifying folder1/g"
33 >>> open('folder2/h', 'wb').write("e\n1\n2\n3\n4\n5\nf\n")
34 $ hg commit -m "modifying folder2/h"
31 $ hg tip
35 $ hg tip
32 changeset: 6:59dd6e4ab63a
36 changeset: 6:59dd6e4ab63a
33 tag: tip
37 tag: tip
General Comments 0
You need to be logged in to leave comments. Login now