Show More
@@ -15,8 +15,8 b' Core:' | |||
|
15 | 15 | - directory foo.d or foo.i with existing file foo (use some quoting?) |
|
16 | 16 | - get various options from hgrc (e.g. history always -v, tip always -q) |
|
17 | 17 | - better push support (hack exists) |
|
18 | - hg over ssh:// and https:// | |
|
19 | - commit mailinglist/trigger/hooks | |
|
18 | - hg over ssh:// and https:// and rsync:// | |
|
19 | - hooks for new changesets getting pulled/imported etc. | |
|
20 | 20 | - make showing removed files (in history etc.) faster. |
|
21 | 21 | |
|
22 | 22 | Commands: |
@@ -26,8 +26,6 b' Commands:' | |||
|
26 | 26 | - select to pull a subset of the heads |
|
27 | 27 | - commands.py: number of args too much magic (e.g. in patch()) |
|
28 | 28 | - automatic pull fallback to old-http:// |
|
29 | - hg pull http://example.com doesn't say that no repo was found | |
|
30 | - hg annotate -u and hgweb annotate with long $EMAIL | |
|
31 | 29 | - hg pull default in a subdir doesn't work, if it is a relative path |
|
32 | 30 | - optionally only show merges (two parents or parent != changeset-1, etc.) |
|
33 | 31 |
@@ -1,4 +1,4 b'' | |||
|
1 |
#!/bin/ |
|
|
1 | #!/bin/sh | |
|
2 | 2 | # |
|
3 | 3 | # This is an example of using HGEDITOR to automate the signing of |
|
4 | 4 | # commits and so on. |
@@ -1,4 +1,4 b'' | |||
|
1 |
#!/bin/ |
|
|
1 | #!/bin/sh | |
|
2 | 2 | # |
|
3 | 3 | # hgmerge - default merge helper for Mercurial |
|
4 | 4 | # |
@@ -137,7 +137,7 b' def show_changeset(ui, repo, rev=0, chan' | |||
|
137 | 137 | if ui.verbose: |
|
138 | 138 | ui.status("description:\n") |
|
139 | 139 | ui.status(description) |
|
140 | ui.status("\n") | |
|
140 | ui.status("\n\n") | |
|
141 | 141 | else: |
|
142 | 142 | ui.status("summary: %s\n" % description.splitlines()[0]) |
|
143 | 143 | ui.status("\n") |
@@ -295,7 +295,9 b' def clone(ui, source, dest = None, **opt' | |||
|
295 | 295 | d = dircleanup(dest) |
|
296 | 296 | |
|
297 | 297 | link = 0 |
|
298 |
if not source.startswith("http://") |
|
|
298 | if not (source.startswith("http://") or | |
|
299 | source.startswith("hg://") or | |
|
300 | source.startswith("old-http://")): | |
|
299 | 301 | d1 = os.stat(dest).st_dev |
|
300 | 302 | d2 = os.stat(source).st_dev |
|
301 | 303 | if d1 == d2: link = 1 |
@@ -1,6 +1,4 b'' | |||
|
1 |
#!/bin/ |
|
|
2 | ||
|
3 | set -e | |
|
1 | #!/bin/sh -e | |
|
4 | 2 | |
|
5 | 3 | export LANG=C |
|
6 | 4 | export LC_CTYPE="C" |
@@ -47,7 +45,7 b' function run_one' | |||
|
47 | 45 | rm -f $1.err |
|
48 | 46 | export TZ=GMT |
|
49 | 47 | D=`mktemp -d` |
|
50 |
if [ "$D" = |
|
|
48 | if [ "$D" = "" ] ; then | |
|
51 | 49 | echo mktemp failed! |
|
52 | 50 | fi |
|
53 | 51 | |
@@ -77,7 +75,7 b' function run_one' | |||
|
77 | 75 | } |
|
78 | 76 | |
|
79 | 77 | TESTS=$@ |
|
80 |
if [ "$TESTS" = |
|
|
78 | if [ "$TESTS" = "" ] ; then | |
|
81 | 79 | TESTS=`ls test-* | grep -Ev "\.|~"` |
|
82 | 80 | fi |
|
83 | 81 |
@@ -1,4 +1,4 b'' | |||
|
1 |
#!/bin/ |
|
|
1 | #!/bin/sh -x | |
|
2 | 2 | |
|
3 | 3 | hg clone http://localhost:20059/ copy |
|
4 | 4 | echo $? |
@@ -18,6 +18,7 b' run()' | |||
|
18 | 18 | EOF |
|
19 | 19 | |
|
20 | 20 | python dumb.py 2>/dev/null & |
|
21 | sleep 2 | |
|
21 | 22 | |
|
22 | 23 | hg clone http://localhost:20059/foo copy2 |
|
23 | 24 | echo $? |
@@ -10,6 +10,7 b' 255' | |||
|
10 | 10 | ls: copy: No such file or directory |
|
11 | 11 | + cat |
|
12 | 12 | + python dumb.py |
|
13 | + sleep 2 | |
|
13 | 14 | + hg clone http://localhost:20059/foo copy2 |
|
14 | 15 | requesting all changes |
|
15 | 16 | adding changesets |
@@ -1,4 +1,4 b'' | |||
|
1 |
#!/bin/ |
|
|
1 | #!/bin/sh | |
|
2 | 2 | |
|
3 | 3 | set -x |
|
4 | 4 | mkdir t |
@@ -10,4 +10,4 b' hg commit -t "test" -u test -d "0 0"' | |||
|
10 | 10 | hg history |
|
11 | 11 | hg manifest |
|
12 | 12 | hg cat a |
|
13 | hg verify No newline at end of file | |
|
13 | hg verify |
@@ -28,6 +28,7 b' files+: c' | |||
|
28 | 28 | description: |
|
29 | 29 | 2 |
|
30 | 30 | |
|
31 | ||
|
31 | 32 | + rm b |
|
32 | 33 | + hg -d rawcommit -p 2 -d '0 0' -u user -t3 b |
|
33 | 34 | + hg -d manifest 3 |
@@ -45,6 +46,7 b' files-: b' | |||
|
45 | 46 | description: |
|
46 | 47 | 3 |
|
47 | 48 | |
|
49 | ||
|
48 | 50 | + echo this is a22 |
|
49 | 51 | + hg -d rawcommit -p 3 -d '0 0' -u user -t4 a |
|
50 | 52 | + hg -d manifest 4 |
@@ -62,6 +64,7 b' files: a' | |||
|
62 | 64 | description: |
|
63 | 65 | 4 |
|
64 | 66 | |
|
67 | ||
|
65 | 68 | + echo this is c22 |
|
66 | 69 | + hg -d rawcommit -p 1 -d '0 0' -u user -t5 c |
|
67 | 70 | + hg -d manifest 5 |
@@ -79,6 +82,7 b' files: a' | |||
|
79 | 82 | description: |
|
80 | 83 | 4 |
|
81 | 84 | |
|
85 | ||
|
82 | 86 | + hg -d rawcommit -p 4 -p 5 -d '0 0' -u user -t6 |
|
83 | 87 | + hg -d manifest 6 |
|
84 | 88 | d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a |
@@ -94,6 +98,7 b' date: Thu Jan 1 00:00:00 1970' | |||
|
94 | 98 | description: |
|
95 | 99 | 6 |
|
96 | 100 | |
|
101 | ||
|
97 | 102 | + hg -d rawcommit -p 6 -d '0 0' -u user -t7 |
|
98 | 103 | + hg -d manifest 7 |
|
99 | 104 | d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a |
@@ -109,3 +114,4 b' date: Thu Jan 1 00:00:00 1970' | |||
|
109 | 114 | description: |
|
110 | 115 | 7 |
|
111 | 116 | |
|
117 |
@@ -54,6 +54,7 b' files: a b' | |||
|
54 | 54 | description: |
|
55 | 55 | 2 |
|
56 | 56 | |
|
57 | ||
|
57 | 58 | changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e |
|
58 | 59 | manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0 |
|
59 | 60 | user: test |
@@ -62,6 +63,7 b' files: a' | |||
|
62 | 63 | description: |
|
63 | 64 | 1 |
|
64 | 65 | |
|
66 | ||
|
65 | 67 | + hg diff |
|
66 | 68 | + sed 's/\(\(---\|+++\).*\)\t.*/\1/' |
|
67 | 69 | diff -r 1e71731e6fbb a |
General Comments 0
You need to be logged in to leave comments.
Login now