equal
deleted
inserted
replaced
|
1 #!/bin/sh |
|
2 |
|
3 hg init rep; cd rep |
|
4 |
|
5 touch empty-file |
|
6 python -c 'for x in range(10000): print x' > large-file |
|
7 |
|
8 hg addremove |
|
9 |
|
10 hg commit -m A |
|
11 |
|
12 rm large-file empty-file |
|
13 python -c 'for x in range(10,10000): print x' > another-file |
|
14 |
|
15 hg addremove -s50 |
|
16 |
|
17 hg commit -m B |
|
18 |
|
19 cd .. |
|
20 |
|
21 hg init rep2; cd rep2 |
|
22 |
|
23 python -c 'for x in range(10000): print x' > large-file |
|
24 python -c 'for x in range(50): print x' > tiny-file |
|
25 |
|
26 hg addremove |
|
27 |
|
28 hg commit -m A |
|
29 |
|
30 python -c 'for x in range(70): print x' > small-file |
|
31 rm tiny-file |
|
32 rm large-file |
|
33 |
|
34 hg addremove -s50 |
|
35 |
|
36 hg commit -m B |
|
37 |