Show More
@@ -16,6 +16,7 b' Core:' | |||||
16 | - better push support (hack exists) |
|
16 | - better push support (hack exists) | |
17 | - hg over ssh:// and https:// |
|
17 | - hg over ssh:// and https:// | |
18 | - commit mailinglist/trigger/hooks |
|
18 | - commit mailinglist/trigger/hooks | |
|
19 | - make showing removed files (in history etc.) faster. | |||
19 |
|
20 | |||
20 | Commands: |
|
21 | Commands: | |
21 | - hg status <filename>: file rev, changeset rev, changed, added, |
|
22 | - hg status <filename>: file rev, changeset rev, changed, added, | |
@@ -25,7 +26,6 b' Commands:' | |||||
25 | - automatic pull fallback to old-http:// |
|
26 | - automatic pull fallback to old-http:// | |
26 | - hg init|pull http://example.com doesn't say that no repo was found |
|
27 | - hg init|pull http://example.com doesn't say that no repo was found | |
27 | - hg annotate -u and hgweb annotate with long $EMAIL |
|
28 | - hg annotate -u and hgweb annotate with long $EMAIL | |
28 | - hg -v history doesn't show tkmerge as modified (removed). |
|
|||
29 | - hg pull default in a subdir doesn't work, if it is a relative path |
|
29 | - hg pull default in a subdir doesn't work, if it is a relative path | |
30 | - optionally only show merges (two parents or parent != changeset-1, etc.) |
|
30 | - optionally only show merges (two parents or parent != changeset-1, etc.) | |
31 |
|
31 |
@@ -123,7 +123,13 b' def show_changeset(ui, repo, rev=0, chan' | |||||
123 | ui.status("user: %s\n" % changes[1]) |
|
123 | ui.status("user: %s\n" % changes[1]) | |
124 | ui.status("date: %s\n" % time.asctime( |
|
124 | ui.status("date: %s\n" % time.asctime( | |
125 | time.localtime(float(changes[2].split(' ')[0])))) |
|
125 | time.localtime(float(changes[2].split(' ')[0])))) | |
126 | ui.note("files: %s\n" % " ".join(changes[3])) |
|
126 | if ui.debugflag: | |
|
127 | files = repo.diffrevs(changelog.parents(changenode)[0], changenode) | |||
|
128 | for key, value in zip(["files:", "files+:", "files-:"], files): | |||
|
129 | if value: | |||
|
130 | ui.note("%-12s %s\n" % (key, " ".join(value))) | |||
|
131 | else: | |||
|
132 | ui.note("files: %s\n" % " ".join(changes[3])) | |||
127 | description = changes[4].strip() |
|
133 | description = changes[4].strip() | |
128 | if description: |
|
134 | if description: | |
129 | if ui.verbose: |
|
135 | if ui.verbose: |
@@ -29,4 +29,4 b' hg co' | |||||
29 | cat foo |
|
29 | cat foo | |
30 | hg manifest |
|
30 | hg manifest | |
31 |
|
31 | |||
32 |
kill |
|
32 | kill $! |
@@ -1,5 +1,6 b'' | |||||
1 |
#!/bin/sh |
|
1 | #!/bin/sh -ex | |
2 |
|
2 | |||
|
3 | umask 027 | |||
3 | mkdir test1 |
|
4 | mkdir test1 | |
4 | cd test1 |
|
5 | cd test1 | |
5 |
|
6 |
@@ -1,3 +1,15 b'' | |||||
|
1 | + umask 027 | |||
|
2 | + mkdir test1 | |||
|
3 | + cd test1 | |||
|
4 | + hg init | |||
|
5 | + touch a b | |||
|
6 | + hg add a b | |||
|
7 | + hg ci -t 'added a b' -u test -d '0 0' | |||
|
8 | + cd .. | |||
|
9 | + mkdir test2 | |||
|
10 | + cd test2 | |||
|
11 | + hg init | |||
|
12 | + hg pull ../test1 | |||
1 | pulling from ../test1 |
|
13 | pulling from ../test1 | |
2 | requesting all changes |
|
14 | requesting all changes | |
3 | adding changesets |
|
15 | adding changesets | |
@@ -5,6 +17,13 b' adding manifests' | |||||
5 | adding file revisions |
|
17 | adding file revisions | |
6 | modified 2 files, added 1 changesets and 2 new revisions |
|
18 | modified 2 files, added 1 changesets and 2 new revisions | |
7 | (run 'hg update' to get a working copy) |
|
19 | (run 'hg update' to get a working copy) | |
|
20 | + hg co | |||
|
21 | + chmod +x a | |||
|
22 | + hg ci -t 'chmod +x a' -u test -d '0 0' | |||
|
23 | + cd ../test1 | |||
|
24 | + echo 123 | |||
|
25 | + hg ci -t 'a updated' -u test -d '0 0' | |||
|
26 | + hg pull ../test2 | |||
8 | pulling from ../test2 |
|
27 | pulling from ../test2 | |
9 | searching for changes |
|
28 | searching for changes | |
10 | adding changesets |
|
29 | adding changesets | |
@@ -12,6 +31,7 b' adding manifests' | |||||
12 | adding file revisions |
|
31 | adding file revisions | |
13 | modified 1 files, added 1 changesets and 1 new revisions |
|
32 | modified 1 files, added 1 changesets and 1 new revisions | |
14 | (run 'hg update' to get a working copy) |
|
33 | (run 'hg update' to get a working copy) | |
|
34 | + hg heads | |||
15 | changeset: 2:3ef54330565526bebf37a0d9bf540c283fd133a1 |
|
35 | changeset: 2:3ef54330565526bebf37a0d9bf540c283fd133a1 | |
16 | tag: tip |
|
36 | tag: tip | |
17 | parent: 0:22a449e20da501ca558394c083ca470e9c81b9f7 |
|
37 | parent: 0:22a449e20da501ca558394c083ca470e9c81b9f7 | |
@@ -24,6 +44,7 b' user: test' | |||||
24 | date: Thu Jan 1 00:00:00 1970 |
|
44 | date: Thu Jan 1 00:00:00 1970 | |
25 | summary: a updated |
|
45 | summary: a updated | |
26 |
|
46 | |||
|
47 | + hg history | |||
27 | changeset: 2:3ef54330565526bebf37a0d9bf540c283fd133a1 |
|
48 | changeset: 2:3ef54330565526bebf37a0d9bf540c283fd133a1 | |
28 | tag: tip |
|
49 | tag: tip | |
29 | parent: 0:22a449e20da501ca558394c083ca470e9c81b9f7 |
|
50 | parent: 0:22a449e20da501ca558394c083ca470e9c81b9f7 | |
@@ -41,11 +62,14 b' user: test' | |||||
41 | date: Thu Jan 1 00:00:00 1970 |
|
62 | date: Thu Jan 1 00:00:00 1970 | |
42 | summary: added a b |
|
63 | summary: added a b | |
43 |
|
64 | |||
|
65 | + hg -dv co -m | |||
44 | resolving manifests |
|
66 | resolving manifests | |
45 | ancestor f328b97f7c11 local e7f06daf1cdb remote 629f0b785e0e |
|
67 | ancestor f328b97f7c11 local e7f06daf1cdb remote 629f0b785e0e | |
46 | a versions differ, resolve |
|
68 | a versions differ, resolve | |
47 | merging a |
|
69 | merging a | |
48 | resolving a |
|
70 | resolving a | |
49 | file a: other 37c42bd6cc03 ancestor b80de5d13875 |
|
71 | file a: other 37c42bd6cc03 ancestor b80de5d13875 | |
50 | -rwxr-xr-x |
|
72 | + ls -l ../test1/a ../test2/a | |
51 | -rwxr-xr-x |
|
73 | + cut -b 0-10 | |
|
74 | -rwxr-x--- | |||
|
75 | -rwxr-x--- |
@@ -17,4 +17,4 b' hg co' | |||||
17 | cat foo |
|
17 | cat foo | |
18 | hg manifest |
|
18 | hg manifest | |
19 |
|
19 | |||
20 |
kill |
|
20 | kill $! |
@@ -24,7 +24,7 b' parent: -1:000000000000000000000000' | |||||
24 | manifest: 2:f5d7a10be55c91e08fbd4f527ab313aff2761fc6 |
|
24 | manifest: 2:f5d7a10be55c91e08fbd4f527ab313aff2761fc6 | |
25 | user: user |
|
25 | user: user | |
26 | date: Thu Jan 1 00:00:00 1970 |
|
26 | date: Thu Jan 1 00:00:00 1970 | |
27 |
files: |
|
27 | files+: c | |
28 | description: |
|
28 | description: | |
29 | 2 |
|
29 | 2 | |
30 |
|
30 | |||
@@ -41,7 +41,7 b' parent: -1:000000000000000000000000' | |||||
41 | manifest: 3:1102cb6dde652ec2ba8cc2777e464853afa67cef |
|
41 | manifest: 3:1102cb6dde652ec2ba8cc2777e464853afa67cef | |
42 | user: user |
|
42 | user: user | |
43 | date: Thu Jan 1 00:00:00 1970 |
|
43 | date: Thu Jan 1 00:00:00 1970 | |
44 |
files: |
|
44 | files-: b | |
45 | description: |
|
45 | description: | |
46 | 3 |
|
46 | 3 | |
47 |
|
47 | |||
@@ -91,7 +91,6 b' parent: 5:f8292b00383d88b470efcb2ea' | |||||
91 | manifest: 6:71c4262e09a89666ee12a92fefa12085aad53243 |
|
91 | manifest: 6:71c4262e09a89666ee12a92fefa12085aad53243 | |
92 | user: user |
|
92 | user: user | |
93 | date: Thu Jan 1 00:00:00 1970 |
|
93 | date: Thu Jan 1 00:00:00 1970 | |
94 | files: |
|
|||
95 | description: |
|
94 | description: | |
96 | 6 |
|
95 | 6 | |
97 |
|
96 | |||
@@ -107,7 +106,6 b' parent: -1:000000000000000000000000' | |||||
107 | manifest: 7:c15305fbac9dd3f49bffcc17d659b2d06d10b9a2 |
|
106 | manifest: 7:c15305fbac9dd3f49bffcc17d659b2d06d10b9a2 | |
108 | user: user |
|
107 | user: user | |
109 | date: Thu Jan 1 00:00:00 1970 |
|
108 | date: Thu Jan 1 00:00:00 1970 | |
110 | files: |
|
|||
111 | description: |
|
109 | description: | |
112 | 7 |
|
110 | 7 | |
113 |
|
111 |
General Comments 0
You need to be logged in to leave comments.
Login now