Show More
@@ -1,15 +1,15 b'' | |||||
1 | + hg clone http://localhost:20059/ copy |
|
1 | + hg clone http://localhost:20059/ copy | |
2 | requesting all changes |
|
2 | requesting all changes | |
3 |
abort: error |
|
3 | abort: error: Connection refused | |
4 | + echo 255 |
|
4 | + echo 255 | |
5 | 255 |
|
5 | 255 | |
6 | + ls copy |
|
6 | + ls copy | |
7 | ls: copy: No such file or directory |
|
7 | ls: copy: No such file or directory | |
8 | + cat |
|
8 | + cat | |
9 | + set +x |
|
9 | + set +x | |
10 | + hg clone http://localhost:20059/foo copy2 |
|
10 | + hg clone http://localhost:20059/foo copy2 | |
11 | requesting all changes |
|
11 | requesting all changes | |
12 | abort: HTTP Error 404: File not found |
|
12 | abort: HTTP Error 404: File not found | |
13 | + echo 255 |
|
13 | + echo 255 | |
14 | 255 |
|
14 | 255 | |
15 | + set +x |
|
15 | + set +x |
@@ -1,39 +1,39 b'' | |||||
1 | + hg clone a b |
|
1 | + hg clone a b | |
2 | abort: repository a/.hg not found! |
|
2 | abort: repository a/.hg not found! | |
3 | + echo 255 |
|
3 | + echo 255 | |
4 | 255 |
|
4 | 255 | |
5 | + hg clone http://127.0.0.1:3121/a b |
|
5 | + hg clone http://127.0.0.1:3121/a b | |
6 | requesting all changes |
|
6 | requesting all changes | |
7 |
abort: error |
|
7 | abort: error: Connection refused | |
8 | + echo 255 |
|
8 | + echo 255 | |
9 | 255 |
|
9 | 255 | |
10 | + rm -rf b |
|
10 | + rm -rf b | |
11 | + mkdir a |
|
11 | + mkdir a | |
12 | + chmod 000 a |
|
12 | + chmod 000 a | |
13 | + hg clone a b |
|
13 | + hg clone a b | |
14 | abort: repository a/.hg not found! |
|
14 | abort: repository a/.hg not found! | |
15 | + echo 255 |
|
15 | + echo 255 | |
16 | 255 |
|
16 | 255 | |
17 | + mkdir b |
|
17 | + mkdir b | |
18 | + cd b |
|
18 | + cd b | |
19 | + hg init |
|
19 | + hg init | |
20 | + hg clone . ../a |
|
20 | + hg clone . ../a | |
21 | abort: destination '../a' already exists |
|
21 | abort: destination '../a' already exists | |
22 | + echo 1 |
|
22 | + echo 1 | |
23 | 1 |
|
23 | 1 | |
24 | + cd .. |
|
24 | + cd .. | |
25 | + chmod 700 a |
|
25 | + chmod 700 a | |
26 | + rm -rf a b |
|
26 | + rm -rf a b | |
27 | + mkfifo a |
|
27 | + mkfifo a | |
28 | + hg clone a b |
|
28 | + hg clone a b | |
29 | abort: repository a/.hg not found! |
|
29 | abort: repository a/.hg not found! | |
30 | + echo 255 |
|
30 | + echo 255 | |
31 | 255 |
|
31 | 255 | |
32 | + rm a |
|
32 | + rm a | |
33 | + mkdir q |
|
33 | + mkdir q | |
34 | + cd q |
|
34 | + cd q | |
35 | + hg init |
|
35 | + hg init | |
36 | + cd .. |
|
36 | + cd .. | |
37 | + hg clone q |
|
37 | + hg clone q | |
38 | abort: destination 'q' already exists |
|
38 | abort: destination 'q' already exists | |
39 | + true |
|
39 | + true |
@@ -1,72 +1,72 b'' | |||||
1 | + umask 027 |
|
1 | + umask 027 | |
2 | + mkdir test1 |
|
2 | + mkdir test1 | |
3 | + cd test1 |
|
3 | + cd test1 | |
4 | + hg init |
|
4 | + hg init | |
5 | + touch a b |
|
5 | + touch a b | |
6 | + hg add a b |
|
6 | + hg add a b | |
7 | + hg ci -m 'added a b' -d '0 0' |
|
7 | + hg ci -m 'added a b' -d '0 0' | |
8 | + cd .. |
|
8 | + cd .. | |
9 | + mkdir test2 |
|
9 | + mkdir test2 | |
10 | + cd test2 |
|
10 | + cd test2 | |
11 | + hg init |
|
11 | + hg init | |
12 | + hg pull ../test1 |
|
12 | + hg pull ../test1 | |
13 | pulling from ../test1 |
|
13 | pulling from ../test1 | |
14 | requesting all changes |
|
14 | requesting all changes | |
15 | adding changesets |
|
15 | adding changesets | |
16 | adding manifests |
|
16 | adding manifests | |
17 |
adding file |
|
17 | adding file changes | |
18 | modified 2 files, added 1 changesets and 2 new revisions |
|
18 | added 1 changesets with 2 changes to 2 files | |
19 | (run 'hg update' to get a working copy) |
|
19 | (run 'hg update' to get a working copy) | |
20 | + hg co |
|
20 | + hg co | |
21 | + chmod +x a |
|
21 | + chmod +x a | |
22 | + hg ci -m 'chmod +x a' -d '0 0' |
|
22 | + hg ci -m 'chmod +x a' -d '0 0' | |
23 | + cd ../test1 |
|
23 | + cd ../test1 | |
24 | + echo 123 |
|
24 | + echo 123 | |
25 | + hg ci -m 'a updated' -d '0 0' |
|
25 | + hg ci -m 'a updated' -d '0 0' | |
26 | + hg pull ../test2 |
|
26 | + hg pull ../test2 | |
27 | pulling from ../test2 |
|
27 | pulling from ../test2 | |
28 | searching for changes |
|
28 | searching for changes | |
29 | adding changesets |
|
29 | adding changesets | |
30 | adding manifests |
|
30 | adding manifests | |
31 |
adding file |
|
31 | adding file changes | |
32 | modified 1 files, added 1 changesets and 1 new revisions |
|
32 | added 1 changesets with 1 changes to 1 files | |
33 | (run 'hg update' to get a working copy) |
|
33 | (run 'hg update' to get a working copy) | |
34 | + hg heads |
|
34 | + hg heads | |
35 | changeset: 2:3ef54330565526bebf37a0d9bf540c283fd133a1 |
|
35 | changeset: 2:3ef54330565526bebf37a0d9bf540c283fd133a1 | |
36 | tag: tip |
|
36 | tag: tip | |
37 | parent: 0:22a449e20da501ca558394c083ca470e9c81b9f7 |
|
37 | parent: 0:22a449e20da501ca558394c083ca470e9c81b9f7 | |
38 | user: test |
|
38 | user: test | |
39 | date: Thu Jan 1 00:00:00 1970 |
|
39 | date: Thu Jan 1 00:00:00 1970 | |
40 | summary: chmod +x a |
|
40 | summary: chmod +x a | |
41 |
|
41 | |||
42 | changeset: 1:c6ecefc45368ed556d965f1c1086c6561a8b2ac5 |
|
42 | changeset: 1:c6ecefc45368ed556d965f1c1086c6561a8b2ac5 | |
43 | user: test |
|
43 | user: test | |
44 | date: Thu Jan 1 00:00:00 1970 |
|
44 | date: Thu Jan 1 00:00:00 1970 | |
45 | summary: a updated |
|
45 | summary: a updated | |
46 |
|
46 | |||
47 | + hg history |
|
47 | + hg history | |
48 | changeset: 2:3ef54330565526bebf37a0d9bf540c283fd133a1 |
|
48 | changeset: 2:3ef54330565526bebf37a0d9bf540c283fd133a1 | |
49 | tag: tip |
|
49 | tag: tip | |
50 | parent: 0:22a449e20da501ca558394c083ca470e9c81b9f7 |
|
50 | parent: 0:22a449e20da501ca558394c083ca470e9c81b9f7 | |
51 | user: test |
|
51 | user: test | |
52 | date: Thu Jan 1 00:00:00 1970 |
|
52 | date: Thu Jan 1 00:00:00 1970 | |
53 | summary: chmod +x a |
|
53 | summary: chmod +x a | |
54 |
|
54 | |||
55 | changeset: 1:c6ecefc45368ed556d965f1c1086c6561a8b2ac5 |
|
55 | changeset: 1:c6ecefc45368ed556d965f1c1086c6561a8b2ac5 | |
56 | user: test |
|
56 | user: test | |
57 | date: Thu Jan 1 00:00:00 1970 |
|
57 | date: Thu Jan 1 00:00:00 1970 | |
58 | summary: a updated |
|
58 | summary: a updated | |
59 |
|
59 | |||
60 | changeset: 0:22a449e20da501ca558394c083ca470e9c81b9f7 |
|
60 | changeset: 0:22a449e20da501ca558394c083ca470e9c81b9f7 | |
61 | user: test |
|
61 | user: test | |
62 | date: Thu Jan 1 00:00:00 1970 |
|
62 | date: Thu Jan 1 00:00:00 1970 | |
63 | summary: added a b |
|
63 | summary: added a b | |
64 |
|
64 | |||
65 | + hg -v co -m |
|
65 | + hg -v co -m | |
66 | resolving manifests |
|
66 | resolving manifests | |
67 | merging a |
|
67 | merging a | |
68 | resolving a |
|
68 | resolving a | |
69 | + ls -l ../test1/a ../test2/a |
|
69 | + ls -l ../test1/a ../test2/a | |
70 | + cut -b 0-10 |
|
70 | + cut -b 0-10 | |
71 | -rwxr-x--- |
|
71 | -rwxr-x--- | |
72 | -rwxr-x--- |
|
72 | -rwxr-x--- |
@@ -1,10 +1,11 b'' | |||||
1 | + hg init |
|
1 | + hg init | |
2 | + echo This is file a1 |
|
2 | + echo This is file a1 | |
3 | + hg add a |
|
3 | + hg add a | |
4 | + hg commit -m 'commit #0' -d '0 0' |
|
4 | + hg commit -m 'commit #0' -d '0 0' | |
5 | + touch b |
|
5 | + touch b | |
6 | + hg add b |
|
6 | + hg add b | |
7 | + rm b |
|
7 | + rm b | |
8 | + hg commit -A '-mcomment #1' -d '0 0' |
|
8 | + hg commit -A '-mcomment #1' -d '0 0' | |
|
9 | adding .out | |||
9 | removing b |
|
10 | removing b | |
10 | b never committed! |
|
11 | b never committed! |
@@ -1,53 +1,53 b'' | |||||
1 | + cat |
|
1 | + cat | |
2 | + chmod +x merge |
|
2 | + chmod +x merge | |
3 | + export HGMERGE=./merge |
|
3 | + export HGMERGE=./merge | |
4 | + HGMERGE=./merge |
|
4 | + HGMERGE=./merge | |
5 | + mkdir A1 |
|
5 | + mkdir A1 | |
6 | + cd A1 |
|
6 | + cd A1 | |
7 | + hg init |
|
7 | + hg init | |
8 | + echo This is file foo1 |
|
8 | + echo This is file foo1 | |
9 | + echo This is file bar1 |
|
9 | + echo This is file bar1 | |
10 | + hg add foo bar |
|
10 | + hg add foo bar | |
11 | + hg commit -m 'commit text' -d '0 0' |
|
11 | + hg commit -m 'commit text' -d '0 0' | |
12 | + cd .. |
|
12 | + cd .. | |
13 | + hg clone A1 B1 |
|
13 | + hg clone A1 B1 | |
14 | + cd A1 |
|
14 | + cd A1 | |
15 | + rm bar |
|
15 | + rm bar | |
16 | + hg remove bar |
|
16 | + hg remove bar | |
17 | + hg commit -m 'commit test' -d '0 0' |
|
17 | + hg commit -m 'commit test' -d '0 0' | |
18 | + cd ../B1 |
|
18 | + cd ../B1 | |
19 | + echo This is file foo22 |
|
19 | + echo This is file foo22 | |
20 | + hg commit -m 'commit test' -d '0 0' |
|
20 | + hg commit -m 'commit test' -d '0 0' | |
21 | + cd .. |
|
21 | + cd .. | |
22 | + hg clone A1 A2 |
|
22 | + hg clone A1 A2 | |
23 | + hg clone B1 B2 |
|
23 | + hg clone B1 B2 | |
24 | + cd A1 |
|
24 | + cd A1 | |
25 | + hg pull ../B1 |
|
25 | + hg pull ../B1 | |
26 | pulling from ../B1 |
|
26 | pulling from ../B1 | |
27 | searching for changes |
|
27 | searching for changes | |
28 | adding changesets |
|
28 | adding changesets | |
29 | adding manifests |
|
29 | adding manifests | |
30 |
adding file |
|
30 | adding file changes | |
31 | modified 1 files, added 1 changesets and 1 new revisions |
|
31 | added 1 changesets with 1 changes to 1 files | |
32 | (run 'hg update' to get a working copy) |
|
32 | (run 'hg update' to get a working copy) | |
33 | + hg update -m |
|
33 | + hg update -m | |
34 | + hg commit -m 'commit test' -d '0 0' |
|
34 | + hg commit -m 'commit test' -d '0 0' | |
35 | + echo bar should remain deleted. |
|
35 | + echo bar should remain deleted. | |
36 | bar should remain deleted. |
|
36 | bar should remain deleted. | |
37 | + hg manifest |
|
37 | + hg manifest | |
38 | 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo |
|
38 | 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo | |
39 | + cd ../B2 |
|
39 | + cd ../B2 | |
40 | + hg pull ../A2 |
|
40 | + hg pull ../A2 | |
41 | pulling from ../A2 |
|
41 | pulling from ../A2 | |
42 | searching for changes |
|
42 | searching for changes | |
43 | adding changesets |
|
43 | adding changesets | |
44 | adding manifests |
|
44 | adding manifests | |
45 |
adding file |
|
45 | adding file changes | |
46 | modified 0 files, added 1 changesets and 0 new revisions |
|
46 | added 1 changesets with 0 changes to 0 files | |
47 | (run 'hg update' to get a working copy) |
|
47 | (run 'hg update' to get a working copy) | |
48 | + hg update -m |
|
48 | + hg update -m | |
49 | + hg commit -m 'commit test' -d '0 0' |
|
49 | + hg commit -m 'commit test' -d '0 0' | |
50 | + echo bar should remain deleted. |
|
50 | + echo bar should remain deleted. | |
51 | bar should remain deleted. |
|
51 | bar should remain deleted. | |
52 | + hg manifest |
|
52 | + hg manifest | |
53 | 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo |
|
53 | 6b70e9e451a5a33faad7bbebe627e46b937b7364 644 foo |
@@ -1,22 +1,22 b'' | |||||
1 | adding foo |
|
1 | adding foo | |
2 | checking changesets |
|
2 | checking changesets | |
3 | checking manifests |
|
3 | checking manifests | |
4 | crosschecking files in changesets and manifests |
|
4 | crosschecking files in changesets and manifests | |
5 | checking files |
|
5 | checking files | |
6 | 1 files, 1 changesets, 1 total revisions |
|
6 | 1 files, 1 changesets, 1 total revisions | |
7 | requesting all changes |
|
7 | requesting all changes | |
8 | adding changesets |
|
8 | adding changesets | |
9 | adding manifests |
|
9 | adding manifests | |
10 |
adding file |
|
10 | adding file changes | |
11 | modified 1 files, added 1 changesets and 1 new revisions |
|
11 | added 1 changesets with 1 changes to 1 files | |
12 | checking changesets |
|
12 | checking changesets | |
13 | checking manifests |
|
13 | checking manifests | |
14 | crosschecking files in changesets and manifests |
|
14 | crosschecking files in changesets and manifests | |
15 | checking files |
|
15 | checking files | |
16 | 1 files, 1 changesets, 1 total revisions |
|
16 | 1 files, 1 changesets, 1 total revisions | |
17 | foo |
|
17 | foo | |
18 | 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo |
|
18 | 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo | |
19 | pulling from http://localhost:20059/ |
|
19 | pulling from http://localhost:20059/ | |
20 | searching for changes |
|
20 | searching for changes | |
21 | no changes found |
|
21 | no changes found | |
22 | killed! |
|
22 | killed! |
@@ -1,39 +1,39 b'' | |||||
1 | + mkdir test |
|
1 | + mkdir test | |
2 | + cd test |
|
2 | + cd test | |
3 | + echo foo |
|
3 | + echo foo | |
4 | + hg init |
|
4 | + hg init | |
5 | + hg addremove |
|
5 | + hg addremove | |
6 | adding foo |
|
6 | adding foo | |
7 | + hg commit -m 1 |
|
7 | + hg commit -m 1 | |
8 | + hg verify |
|
8 | + hg verify | |
9 | checking changesets |
|
9 | checking changesets | |
10 | checking manifests |
|
10 | checking manifests | |
11 | crosschecking files in changesets and manifests |
|
11 | crosschecking files in changesets and manifests | |
12 | checking files |
|
12 | checking files | |
13 | 1 files, 1 changesets, 1 total revisions |
|
13 | 1 files, 1 changesets, 1 total revisions | |
14 | + hg clone . ../branch |
|
14 | + hg clone . ../branch | |
15 | + cd ../branch |
|
15 | + cd ../branch | |
16 | + hg co |
|
16 | + hg co | |
17 | + echo bar |
|
17 | + echo bar | |
18 | + hg commit -m 2 |
|
18 | + hg commit -m 2 | |
19 | + cd ../test |
|
19 | + cd ../test | |
20 | + hg pull ../branch |
|
20 | + hg pull ../branch | |
21 | pulling from ../branch |
|
21 | pulling from ../branch | |
22 | searching for changes |
|
22 | searching for changes | |
23 | adding changesets |
|
23 | adding changesets | |
24 | adding manifests |
|
24 | adding manifests | |
25 |
adding file |
|
25 | adding file changes | |
26 | modified 1 files, added 1 changesets and 1 new revisions |
|
26 | added 1 changesets with 1 changes to 1 files | |
27 | (run 'hg update' to get a working copy) |
|
27 | (run 'hg update' to get a working copy) | |
28 | + hg verify |
|
28 | + hg verify | |
29 | checking changesets |
|
29 | checking changesets | |
30 | checking manifests |
|
30 | checking manifests | |
31 | crosschecking files in changesets and manifests |
|
31 | crosschecking files in changesets and manifests | |
32 | checking files |
|
32 | checking files | |
33 | 1 files, 2 changesets, 2 total revisions |
|
33 | 1 files, 2 changesets, 2 total revisions | |
34 | + hg co |
|
34 | + hg co | |
35 | + cat foo |
|
35 | + cat foo | |
36 | foo |
|
36 | foo | |
37 | bar |
|
37 | bar | |
38 | + hg manifest |
|
38 | + hg manifest | |
39 | 6f4310b00b9a147241b071a60c28a650827fb03d 644 foo |
|
39 | 6f4310b00b9a147241b071a60c28a650827fb03d 644 foo |
@@ -1,19 +1,19 b'' | |||||
1 | pulling from ../a |
|
1 | pulling from ../a | |
2 | searching for changes |
|
2 | searching for changes | |
3 | warning: pulling from an unrelated repository! |
|
3 | warning: pulling from an unrelated repository! | |
4 | adding changesets |
|
4 | adding changesets | |
5 | adding manifests |
|
5 | adding manifests | |
6 |
adding file |
|
6 | adding file changes | |
7 | modified 1 files, added 1 changesets and 1 new revisions |
|
7 | added 1 changesets with 1 changes to 1 files | |
8 | (run 'hg update' to get a working copy) |
|
8 | (run 'hg update' to get a working copy) | |
9 | changeset: 1:9a79c33a9db37480e40fbd2a65d62ebd2a3c441c |
|
9 | changeset: 1:9a79c33a9db37480e40fbd2a65d62ebd2a3c441c | |
10 | tag: tip |
|
10 | tag: tip | |
11 | user: a |
|
11 | user: a | |
12 | date: Thu Jan 1 00:00:00 1970 |
|
12 | date: Thu Jan 1 00:00:00 1970 | |
13 | summary: a |
|
13 | summary: a | |
14 |
|
14 | |||
15 | changeset: 0:01f8062b2de51c0fa6428c5db1d1b3ea780189df |
|
15 | changeset: 0:01f8062b2de51c0fa6428c5db1d1b3ea780189df | |
16 | user: b |
|
16 | user: b | |
17 | date: Thu Jan 1 00:00:00 1970 |
|
17 | date: Thu Jan 1 00:00:00 1970 | |
18 | summary: b |
|
18 | summary: b | |
19 |
|
19 |
@@ -1,78 +1,78 b'' | |||||
1 | + mkdir r1 |
|
1 | + mkdir r1 | |
2 | + cd r1 |
|
2 | + cd r1 | |
3 | + hg init |
|
3 | + hg init | |
4 | + echo a |
|
4 | + echo a | |
5 | + hg addremove |
|
5 | + hg addremove | |
6 | adding a |
|
6 | adding a | |
7 | + hg commit -m 1 -d '0 0' |
|
7 | + hg commit -m 1 -d '0 0' | |
8 | + hg clone . ../r2 |
|
8 | + hg clone . ../r2 | |
9 | + cd ../r2 |
|
9 | + cd ../r2 | |
10 | + hg up |
|
10 | + hg up | |
11 | + echo abc |
|
11 | + echo abc | |
12 | + hg diff |
|
12 | + hg diff | |
13 |
+ sed 's/\(\(---\|+++\) |
|
13 | + sed 's/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/' | |
14 | diff -r c19d34741b0a a |
|
14 | diff -r c19d34741b0a a | |
15 | --- a/a |
|
15 | --- a/a | |
16 | +++ b/a |
|
16 | +++ b/a | |
17 | @@ -1,1 +1,1 @@ |
|
17 | @@ -1,1 +1,1 @@ | |
18 | -a |
|
18 | -a | |
19 | +abc |
|
19 | +abc | |
20 | + cd ../r1 |
|
20 | + cd ../r1 | |
21 | + echo b |
|
21 | + echo b | |
22 | + echo a2 |
|
22 | + echo a2 | |
23 | + hg addremove |
|
23 | + hg addremove | |
24 | adding b |
|
24 | adding b | |
25 | + hg commit -m 2 -d '0 0' |
|
25 | + hg commit -m 2 -d '0 0' | |
26 | + cd ../r2 |
|
26 | + cd ../r2 | |
27 | + hg -q pull ../r1 |
|
27 | + hg -q pull ../r1 | |
28 | + hg status |
|
28 | + hg status | |
29 | M a |
|
29 | M a | |
30 | + hg --debug up |
|
30 | + hg --debug up | |
31 | resolving manifests |
|
31 | resolving manifests | |
32 | force None allow None moddirstate True linear True |
|
32 | force None allow None moddirstate True linear True | |
33 | ancestor a0c8bcbbb45c local a0c8bcbbb45c remote 1165e8bd193e |
|
33 | ancestor a0c8bcbbb45c local a0c8bcbbb45c remote 1165e8bd193e | |
34 | a versions differ, resolve |
|
34 | a versions differ, resolve | |
35 | remote created b |
|
35 | remote created b | |
36 | getting b |
|
36 | getting b | |
37 | merging a |
|
37 | merging a | |
38 | resolving a |
|
38 | resolving a | |
39 | file a: other d730145abbf9 ancestor b789fdd96dc2 |
|
39 | file a: other d730145abbf9 ancestor b789fdd96dc2 | |
40 | + hg --debug up -m |
|
40 | + hg --debug up -m | |
41 | resolving manifests |
|
41 | resolving manifests | |
42 | force None allow 1 moddirstate True linear True |
|
42 | force None allow 1 moddirstate True linear True | |
43 | ancestor 1165e8bd193e local 1165e8bd193e remote 1165e8bd193e |
|
43 | ancestor 1165e8bd193e local 1165e8bd193e remote 1165e8bd193e | |
44 | + hg parents |
|
44 | + hg parents | |
45 | changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 |
|
45 | changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 | |
46 | tag: tip |
|
46 | tag: tip | |
47 | user: test |
|
47 | user: test | |
48 | date: Thu Jan 1 00:00:00 1970 |
|
48 | date: Thu Jan 1 00:00:00 1970 | |
49 | summary: 2 |
|
49 | summary: 2 | |
50 |
|
50 | |||
51 | + hg -v history |
|
51 | + hg -v history | |
52 | changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 |
|
52 | changeset: 1:1e71731e6fbb5b35fae293120dea6964371c13c6 | |
53 | tag: tip |
|
53 | tag: tip | |
54 | manifest: 1:1165e8bd193e17ad7d321d846fcf27ff3f412758 |
|
54 | manifest: 1:1165e8bd193e17ad7d321d846fcf27ff3f412758 | |
55 | user: test |
|
55 | user: test | |
56 | date: Thu Jan 1 00:00:00 1970 |
|
56 | date: Thu Jan 1 00:00:00 1970 | |
57 | files: a b |
|
57 | files: a b | |
58 | description: |
|
58 | description: | |
59 | 2 |
|
59 | 2 | |
60 |
|
60 | |||
61 |
|
61 | |||
62 | changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e |
|
62 | changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e | |
63 | manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0 |
|
63 | manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0 | |
64 | user: test |
|
64 | user: test | |
65 | date: Thu Jan 1 00:00:00 1970 |
|
65 | date: Thu Jan 1 00:00:00 1970 | |
66 | files: a |
|
66 | files: a | |
67 | description: |
|
67 | description: | |
68 | 1 |
|
68 | 1 | |
69 |
|
69 | |||
70 |
|
70 | |||
71 | + hg diff |
|
71 | + hg diff | |
72 |
+ sed 's/\(\(---\|+++\) |
|
72 | + sed 's/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/' | |
73 | diff -r 1e71731e6fbb a |
|
73 | diff -r 1e71731e6fbb a | |
74 | --- a/a |
|
74 | --- a/a | |
75 | +++ b/a |
|
75 | +++ b/a | |
76 | @@ -1,1 +1,1 @@ |
|
76 | @@ -1,1 +1,1 @@ | |
77 | -a2 |
|
77 | -a2 | |
78 | +abc |
|
78 | +abc |
General Comments 0
You need to be logged in to leave comments.
Login now