equal
deleted
inserted
replaced
4 echo foo > foo |
4 echo foo > foo |
5 hg add foo |
5 hg add foo |
6 hg commit -m1 -d"0 0" |
6 hg commit -m1 -d"0 0" |
7 |
7 |
8 echo "# should show copy" |
8 echo "# should show copy" |
9 cp foo bar |
|
10 hg copy foo bar |
9 hg copy foo bar |
11 hg debugstate|grep '^copy' |
10 hg debugstate|grep '^copy' |
12 |
11 |
13 echo "# shouldn't show copy" |
12 echo "# shouldn't show copy" |
14 hg commit -m2 -d"0 0" |
13 hg commit -m2 -d"0 0" |
23 hg commit -m3 -d"0 0" |
22 hg commit -m3 -d"0 0" |
24 |
23 |
25 echo "# should not be renamed" |
24 echo "# should not be renamed" |
26 hg debugrename bar |
25 hg debugrename bar |
27 |
26 |
28 cp foo bar |
|
29 hg copy -f foo bar |
27 hg copy -f foo bar |
30 echo "# should show copy" |
28 echo "# should show copy" |
31 hg debugstate|grep '^copy' |
29 hg debugstate|grep '^copy' |
32 hg commit -m3 -d"0 0" |
30 hg commit -m3 -d"0 0" |
33 |
31 |