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