Show More
@@ -1,17 +1,21 b'' | |||
|
1 | 1 | #!/bin/sh |
|
2 | 2 | |
|
3 | 3 | hg init a |
|
4 | 4 | cd a |
|
5 | 5 | echo a > foo |
|
6 | 6 | hg add foo |
|
7 | 7 | hg commit -m 1 -d "1000000 0" |
|
8 | hg remove | |
|
8 | 9 | rm foo |
|
9 | 10 | hg remove foo |
|
11 | hg revert | |
|
12 | rm foo | |
|
13 | hg remove --after | |
|
10 | 14 | hg commit -m 2 -d "1000000 0" |
|
11 | 15 | hg export 0 |
|
12 | 16 | hg export 1 |
|
13 | 17 | hg log -p -r 0 |
|
14 | 18 | hg log -p -r 1 |
|
15 | 19 | |
|
16 | 20 | cd .. |
|
17 | 21 | hg clone a b |
@@ -1,48 +1,51 b'' | |||
|
1 | abort: no files specified | |
|
2 | undeleting foo | |
|
3 | removing foo | |
|
1 | 4 | # HG changeset patch |
|
2 | 5 | # User test |
|
3 | 6 | # Node ID 8ba83d44753d6259db5ce6524974dd1174e90f47 |
|
4 | 7 | # Parent 0000000000000000000000000000000000000000 |
|
5 | 8 | 1 |
|
6 | 9 | |
|
7 | 10 | diff -r 000000000000 -r 8ba83d44753d foo |
|
8 | 11 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
9 | 12 | +++ b/foo Mon Jan 12 13:46:40 1970 +0000 |
|
10 | 13 | @@ -0,0 +1,1 @@ |
|
11 | 14 | +a |
|
12 | 15 | # HG changeset patch |
|
13 | 16 | # User test |
|
14 | 17 | # Node ID a1fce69c50d97881c5c014ab23f580f720c78678 |
|
15 | 18 | # Parent 8ba83d44753d6259db5ce6524974dd1174e90f47 |
|
16 | 19 | 2 |
|
17 | 20 | |
|
18 | 21 | diff -r 8ba83d44753d -r a1fce69c50d9 foo |
|
19 | 22 | --- a/foo Mon Jan 12 13:46:40 1970 +0000 |
|
20 | 23 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
21 | 24 | @@ -1,1 +0,0 @@ |
|
22 | 25 | -a |
|
23 | 26 | changeset: 0:8ba83d44753d |
|
24 | 27 | user: test |
|
25 | 28 | date: Mon Jan 12 13:46:40 1970 +0000 |
|
26 | 29 | summary: 1 |
|
27 | 30 | |
|
28 | 31 | diff -r 000000000000 -r 8ba83d44753d foo |
|
29 | 32 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
30 | 33 | +++ b/foo Mon Jan 12 13:46:40 1970 +0000 |
|
31 | 34 | @@ -0,0 +1,1 @@ |
|
32 | 35 | +a |
|
33 | 36 | |
|
34 | 37 | |
|
35 | 38 | changeset: 1:a1fce69c50d9 |
|
36 | 39 | tag: tip |
|
37 | 40 | user: test |
|
38 | 41 | date: Mon Jan 12 13:46:40 1970 +0000 |
|
39 | 42 | summary: 2 |
|
40 | 43 | |
|
41 | 44 | diff -r 8ba83d44753d -r a1fce69c50d9 foo |
|
42 | 45 | --- a/foo Mon Jan 12 13:46:40 1970 +0000 |
|
43 | 46 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
44 | 47 | @@ -1,1 +0,0 @@ |
|
45 | 48 | -a |
|
46 | 49 | |
|
47 | 50 | |
|
48 | 51 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
General Comments 0
You need to be logged in to leave comments.
Login now