Show More
@@ -7,6 +7,8 b' hg ci -m "a" -d "0 0"' | |||||
7 |
|
7 | |||
8 | echo 123 > b |
|
8 | echo 123 > b | |
9 | hg add b |
|
9 | hg add b | |
10 |
hg diff | sed "s/\( |
|
10 | hg diff | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \ | |
|
11 | -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" | |||
11 |
|
12 | |||
12 |
hg diff -r tip | sed "s/\( |
|
13 | hg diff -r tip | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \ | |
|
14 | -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" |
@@ -27,7 +27,8 b' hg id' | |||||
27 | hg update -C 0 |
|
27 | hg update -C 0 | |
28 | echo "changed file1 different" >> file1 |
|
28 | echo "changed file1 different" >> file1 | |
29 | HGMERGE=merge hg update |
|
29 | HGMERGE=merge hg update | |
30 |
hg diff | sed -e "s/\( |
|
30 | hg diff | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" -e "s/\(<<<<<<<\) .*/\1/" \ | |
|
31 | -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" -e "s/\(>>>>>>>\) .*/\1/" | |||
31 | hg status |
|
32 | hg status | |
32 | hg id |
|
33 | hg id | |
33 | hg revert |
|
34 | hg revert |
@@ -12,8 +12,8 b' hg clone . ../r2' | |||||
12 | cd ../r2 |
|
12 | cd ../r2 | |
13 | hg up |
|
13 | hg up | |
14 | echo abc > a |
|
14 | echo abc > a | |
15 | hg diff > ../d |
|
15 | hg diff | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \ | |
16 |
|
|
16 | -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" | |
17 |
|
17 | |||
18 | cd ../r1 |
|
18 | cd ../r1 | |
19 | echo b > b |
|
19 | echo b > b | |
@@ -28,6 +28,6 b' hg --debug up' | |||||
28 | hg --debug up -m |
|
28 | hg --debug up -m | |
29 | hg parents |
|
29 | hg parents | |
30 | hg -v history |
|
30 | hg -v history | |
31 | hg diff > ../d |
|
31 | hg diff | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \ | |
32 |
|
|
32 | -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" | |
33 |
|
33 |
General Comments 0
You need to be logged in to leave comments.
Login now