##// END OF EJS Templates
tests: test-addremove-similar.t use print() for py3
timeless -
r29174:478e2b85 default
parent child Browse files
Show More
@@ -1,7 +1,7 b''
1 $ hg init rep; cd rep
1 $ hg init rep; cd rep
2
2
3 $ touch empty-file
3 $ touch empty-file
4 $ $PYTHON -c 'for x in range(10000): print x' > large-file
4 $ $PYTHON -c 'for x in range(10000): print(x)' > large-file
5
5
6 $ hg addremove
6 $ hg addremove
7 adding empty-file
7 adding empty-file
@@ -10,7 +10,7 b''
10 $ hg commit -m A
10 $ hg commit -m A
11
11
12 $ rm large-file empty-file
12 $ rm large-file empty-file
13 $ $PYTHON -c 'for x in range(10,10000): print x' > another-file
13 $ $PYTHON -c 'for x in range(10,10000): print(x)' > another-file
14
14
15 $ hg addremove -s50
15 $ hg addremove -s50
16 adding another-file
16 adding another-file
@@ -34,8 +34,8 b' comparing two empty files caused ZeroDiv'
34
34
35 $ hg init rep2; cd rep2
35 $ hg init rep2; cd rep2
36
36
37 $ $PYTHON -c 'for x in range(10000): print x' > large-file
37 $ $PYTHON -c 'for x in range(10000): print(x)' > large-file
38 $ $PYTHON -c 'for x in range(50): print x' > tiny-file
38 $ $PYTHON -c 'for x in range(50): print(x)' > tiny-file
39
39
40 $ hg addremove
40 $ hg addremove
41 adding large-file
41 adding large-file
@@ -43,7 +43,7 b' comparing two empty files caused ZeroDiv'
43
43
44 $ hg commit -m A
44 $ hg commit -m A
45
45
46 $ $PYTHON -c 'for x in range(70): print x' > small-file
46 $ $PYTHON -c 'for x in range(70): print(x)' > small-file
47 $ rm tiny-file
47 $ rm tiny-file
48 $ rm large-file
48 $ rm large-file
49
49
General Comments 0
You need to be logged in to leave comments. Login now