Show More
@@ -0,0 +1,17 b'' | |||
|
1 | #!/bin/sh -x | |
|
2 | ||
|
3 | hg init | |
|
4 | echo This is file a1 > a | |
|
5 | hg add a | |
|
6 | hg commit -t "commit #0" -d "0 0" -u user | |
|
7 | echo This is file b1 > b | |
|
8 | hg add b | |
|
9 | hg commit -t "commit #1" -d "0 0" -u user | |
|
10 | hg update 0 | |
|
11 | echo This is file c1 > c | |
|
12 | hg add c | |
|
13 | hg commit -t "commit #2" -d "0 0" -u user | |
|
14 | hg update -m 1 | |
|
15 | rm b | |
|
16 | echo This is file c22 > c | |
|
17 | hg commit -t "commit #3" -d "0 0" -u user |
@@ -0,0 +1,15 b'' | |||
|
1 | + hg init | |
|
2 | + echo This is file a1 | |
|
3 | + hg add a | |
|
4 | + hg commit -t 'commit #0' -d '0 0' -u user | |
|
5 | + echo This is file b1 | |
|
6 | + hg add b | |
|
7 | + hg commit -t 'commit #1' -d '0 0' -u user | |
|
8 | + hg update 0 | |
|
9 | + echo This is file c1 | |
|
10 | + hg add c | |
|
11 | + hg commit -t 'commit #2' -d '0 0' -u user | |
|
12 | + hg update -m 1 | |
|
13 | + rm b | |
|
14 | + echo This is file c22 | |
|
15 | + hg commit -t 'commit #3' -d '0 0' -u user |
General Comments 0
You need to be logged in to leave comments.
Login now