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