Show More
@@ -1,12 +1,16 b'' | |||
|
1 | #!/bin/sh | |
|
2 | hg init | |
|
3 | echo This is file a1 > a | |
|
4 | hg add a | |
|
5 | hg commit -m "commit #0" -d "1000000 0" | |
|
6 | ls | |
|
7 | echo This is file b1 > b | |
|
8 | hg add b | |
|
9 | hg commit -m "commit #1" -d "1000000 0" | |
|
10 | hg co 0 | |
|
11 | # B should disappear | |
|
12 | ls | |
|
1 | $ hg init | |
|
2 | $ echo This is file a1 > a | |
|
3 | $ hg add a | |
|
4 | $ hg commit -m "commit #0" -d "1000000 0" | |
|
5 | $ ls | |
|
6 | a | |
|
7 | $ echo This is file b1 > b | |
|
8 | $ hg add b | |
|
9 | $ hg commit -m "commit #1" -d "1000000 0" | |
|
10 | $ hg co 0 | |
|
11 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
|
12 | ||
|
13 | B should disappear | |
|
14 | ||
|
15 | $ ls | |
|
16 | a |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now