Show More
@@ -518,7 +518,7 b' def tsttest(test, options):' | |||||
518 | c = el[i] |
|
518 | c = el[i] | |
519 | i += 1 |
|
519 | i += 1 | |
520 | if c == '\\' and el[i] in '*?\\': |
|
520 | if c == '\\' and el[i] in '*?\\': | |
521 | res += el[i-1:i+1] |
|
521 | res += el[i - 1:i + 1] | |
522 | i += 1 |
|
522 | i += 1 | |
523 | elif c == '*': |
|
523 | elif c == '*': | |
524 | res += '.*' |
|
524 | res += '.*' |
@@ -79,7 +79,7 b' Convert again' | |||||
79 | Test hg failing to call itself |
|
79 | Test hg failing to call itself | |
80 |
|
80 | |||
81 | $ HG=foobar hg convert svn-repo B-hg |
|
81 | $ HG=foobar hg convert svn-repo B-hg | |
82 | .* |
|
82 | * (glob) | |
83 | initializing destination B-hg repository |
|
83 | initializing destination B-hg repository | |
84 | abort: Mercurial failed to run itself, check hg executable is in PATH |
|
84 | abort: Mercurial failed to run itself, check hg executable is in PATH | |
85 | [255] |
|
85 | [255] |
@@ -14,7 +14,7 b' Convert while testing all possible outpu' | |||||
14 |
|
14 | |||
15 | $ hg --debug convert svn-repo A-hg |
|
15 | $ hg --debug convert svn-repo A-hg | |
16 | initializing destination A-hg repository |
|
16 | initializing destination A-hg repository | |
17 |
reparent to file:// |
|
17 | reparent to file://*/test-convert-svn-encoding.t/svn-repo (glob) | |
18 | run hg sink pre-conversion action |
|
18 | run hg sink pre-conversion action | |
19 | scanning source... |
|
19 | scanning source... | |
20 | found trunk at 'trunk' |
|
20 | found trunk at 'trunk' | |
@@ -23,7 +23,7 b' Convert while testing all possible outpu' | |||||
23 | found branch branchΓ© at 5 |
|
23 | found branch branchΓ© at 5 | |
24 | found branch branchΓ©e at 6 |
|
24 | found branch branchΓ©e at 6 | |
25 | scanning: 1 revisions |
|
25 | scanning: 1 revisions | |
26 |
reparent to file:// |
|
26 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/trunk (glob) | |
27 | fetching revision log for "/trunk" from 4 to 0 |
|
27 | fetching revision log for "/trunk" from 4 to 0 | |
28 | parsing revision 4 (2 changes) |
|
28 | parsing revision 4 (2 changes) | |
29 | parsing revision 3 (4 changes) |
|
29 | parsing revision 3 (4 changes) | |
@@ -33,18 +33,18 b' Convert while testing all possible outpu' | |||||
33 | '/branches' is not under '/trunk', ignoring |
|
33 | '/branches' is not under '/trunk', ignoring | |
34 | '/tags' is not under '/trunk', ignoring |
|
34 | '/tags' is not under '/trunk', ignoring | |
35 | scanning: 2 revisions |
|
35 | scanning: 2 revisions | |
36 |
reparent to file:// |
|
36 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/branches/branch%C3%A9 (glob) | |
37 | fetching revision log for "/branches/branchΓ©" from 5 to 0 |
|
37 | fetching revision log for "/branches/branchΓ©" from 5 to 0 | |
38 | parsing revision 5 (1 changes) |
|
38 | parsing revision 5 (1 changes) | |
39 |
reparent to file:// |
|
39 | reparent to file://*/test-convert-svn-encoding.t/svn-repo (glob) | |
40 |
reparent to file:// |
|
40 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/branches/branch%C3%A9 (glob) | |
41 | found parent of branch /branches/branchΓ© at 4: /trunk |
|
41 | found parent of branch /branches/branchΓ© at 4: /trunk | |
42 | scanning: 3 revisions |
|
42 | scanning: 3 revisions | |
43 |
reparent to file:// |
|
43 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/branches/branch%C3%A9e (glob) | |
44 | fetching revision log for "/branches/branchΓ©e" from 6 to 0 |
|
44 | fetching revision log for "/branches/branchΓ©e" from 6 to 0 | |
45 | parsing revision 6 (1 changes) |
|
45 | parsing revision 6 (1 changes) | |
46 |
reparent to file:// |
|
46 | reparent to file://*/test-convert-svn-encoding.t/svn-repo (glob) | |
47 |
reparent to file:// |
|
47 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/branches/branch%C3%A9e (glob) | |
48 | found parent of branch /branches/branchΓ©e at 5: /branches/branchΓ© |
|
48 | found parent of branch /branches/branchΓ©e at 5: /branches/branchΓ© | |
49 | scanning: 4 revisions |
|
49 | scanning: 4 revisions | |
50 | scanning: 5 revisions |
|
50 | scanning: 5 revisions | |
@@ -57,7 +57,7 b' Convert while testing all possible outpu' | |||||
57 | 4 hello |
|
57 | 4 hello | |
58 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@2 |
|
58 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@2 | |
59 | converting: 1/6 revisions (16.67%) |
|
59 | converting: 1/6 revisions (16.67%) | |
60 |
reparent to file:// |
|
60 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/trunk (glob) | |
61 | scanning paths: /trunk/Γ 0/3 (0.00%) |
|
61 | scanning paths: /trunk/Γ 0/3 (0.00%) | |
62 | scanning paths: /trunk/Γ /eΜ 1/3 (33.33%) |
|
62 | scanning paths: /trunk/Γ /eΜ 1/3 (33.33%) | |
63 | scanning paths: /trunk/Γ© 2/3 (66.67%) |
|
63 | scanning paths: /trunk/Γ© 2/3 (66.67%) | |
@@ -70,14 +70,14 b' Convert while testing all possible outpu' | |||||
70 | converting: 2/6 revisions (33.33%) |
|
70 | converting: 2/6 revisions (33.33%) | |
71 | scanning paths: /trunk/Γ 0/4 (0.00%) |
|
71 | scanning paths: /trunk/Γ 0/4 (0.00%) | |
72 | gone from -1 |
|
72 | gone from -1 | |
73 |
reparent to file:// |
|
73 | reparent to file://*/test-convert-svn-encoding.t/svn-repo (glob) | |
74 |
reparent to file:// |
|
74 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/trunk (glob) | |
75 | scanning paths: /trunk/Γ¨ 1/4 (25.00%) |
|
75 | scanning paths: /trunk/Γ¨ 1/4 (25.00%) | |
76 | copied to Γ¨ from Γ©@2 |
|
76 | copied to Γ¨ from Γ©@2 | |
77 | scanning paths: /trunk/Γ© 2/4 (50.00%) |
|
77 | scanning paths: /trunk/Γ© 2/4 (50.00%) | |
78 | gone from -1 |
|
78 | gone from -1 | |
79 |
reparent to file:// |
|
79 | reparent to file://*/test-convert-svn-encoding.t/svn-repo (glob) | |
80 |
reparent to file:// |
|
80 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/trunk (glob) | |
81 | scanning paths: /trunk/ΓΉ 3/4 (75.00%) |
|
81 | scanning paths: /trunk/ΓΉ 3/4 (75.00%) | |
82 | mark /trunk/ΓΉ came from Γ :2 |
|
82 | mark /trunk/ΓΉ came from Γ :2 | |
83 | Γ /eΜ |
|
83 | Γ /eΜ | |
@@ -95,12 +95,12 b' Convert while testing all possible outpu' | |||||
95 | converting: 3/6 revisions (50.00%) |
|
95 | converting: 3/6 revisions (50.00%) | |
96 | scanning paths: /trunk/Γ¨ 0/2 (0.00%) |
|
96 | scanning paths: /trunk/Γ¨ 0/2 (0.00%) | |
97 | gone from -1 |
|
97 | gone from -1 | |
98 |
reparent to file:// |
|
98 | reparent to file://*/test-convert-svn-encoding.t/svn-repo (glob) | |
99 |
reparent to file:// |
|
99 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/trunk (glob) | |
100 | scanning paths: /trunk/ΓΉ 1/2 (50.00%) |
|
100 | scanning paths: /trunk/ΓΉ 1/2 (50.00%) | |
101 | gone from -1 |
|
101 | gone from -1 | |
102 |
reparent to file:// |
|
102 | reparent to file://*/test-convert-svn-encoding.t/svn-repo (glob) | |
103 |
reparent to file:// |
|
103 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/trunk (glob) | |
104 | Γ¨ |
|
104 | Γ¨ | |
105 | getting files: Γ¨ 1/2 (50.00%) |
|
105 | getting files: Γ¨ 1/2 (50.00%) | |
106 | ΓΉ/eΜ |
|
106 | ΓΉ/eΜ | |
@@ -108,17 +108,17 b' Convert while testing all possible outpu' | |||||
108 | 1 branch to branch? |
|
108 | 1 branch to branch? | |
109 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/branches/branch?@5 |
|
109 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/branches/branch?@5 | |
110 | converting: 4/6 revisions (66.67%) |
|
110 | converting: 4/6 revisions (66.67%) | |
111 |
reparent to file:// |
|
111 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/branches/branch%C3%A9 (glob) | |
112 | scanning paths: /branches/branchΓ© 0/1 (0.00%) |
|
112 | scanning paths: /branches/branchΓ© 0/1 (0.00%) | |
113 | 0 branch to branch?e |
|
113 | 0 branch to branch?e | |
114 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/branches/branch?e@6 |
|
114 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/branches/branch?e@6 | |
115 | converting: 5/6 revisions (83.33%) |
|
115 | converting: 5/6 revisions (83.33%) | |
116 |
reparent to file:// |
|
116 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/branches/branch%C3%A9e (glob) | |
117 | scanning paths: /branches/branchΓ©e 0/1 (0.00%) |
|
117 | scanning paths: /branches/branchΓ©e 0/1 (0.00%) | |
118 |
reparent to file:// |
|
118 | reparent to file://*/test-convert-svn-encoding.t/svn-repo (glob) | |
119 |
reparent to file:// |
|
119 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/branches/branch%C3%A9e (glob) | |
120 |
reparent to file:// |
|
120 | reparent to file://*/test-convert-svn-encoding.t/svn-repo (glob) | |
121 |
reparent to file:// |
|
121 | reparent to file://*/test-convert-svn-encoding.t/svn-repo/branches/branch%C3%A9e (glob) | |
122 | updating tags |
|
122 | updating tags | |
123 | .hgtags |
|
123 | .hgtags | |
124 | run hg sink post-conversion action |
|
124 | run hg sink post-conversion action |
@@ -87,8 +87,8 b' Check move copy records' | |||||
87 | Check branches |
|
87 | Check branches | |
88 |
|
88 | |||
89 | $ hg branches |
|
89 | $ hg branches | |
90 |
default 13: |
|
90 | default 13:* (glob) | |
91 |
d1 6: |
|
91 | d1 6:* (glob) | |
92 | $ cd .. |
|
92 | $ cd .. | |
93 |
|
93 | |||
94 | $ mkdir test-replace |
|
94 | $ mkdir test-replace |
@@ -12,7 +12,6 b'' | |||||
12 | > EOF |
|
12 | > EOF | |
13 |
|
13 | |||
14 | $ svnadmin create svn-repo |
|
14 | $ svnadmin create svn-repo | |
15 | $ svnadmin setuuid svn-repo 00000000-0000-0000-0000-000000000000 |
|
|||
16 |
$ |
|
15 | $ svnpath=`pwd | fixpath` | |
17 |
|
16 | |||
18 |
|
17 | |||
@@ -175,5 +174,5 b' This is also the only place testing more' | |||||
175 | $ cd stoprev |
|
174 | $ cd stoprev | |
176 | $ hg tip --debug | grep extra |
|
175 | $ hg tip --debug | grep extra | |
177 | extra: branch=default |
|
176 | extra: branch=default | |
178 |
extra: convert_revision=svn: |
|
177 | extra: convert_revision=svn:........-....-....-....-............/proj B/trunk@1 (re) | |
179 | $ cd .. |
|
178 | $ cd .. |
@@ -82,12 +82,12 b' Exporting 4 changesets to a file:' | |||||
82 |
|
82 | |||
83 | $ hg export -o export_internal 1 2 3 4 |
|
83 | $ hg export -o export_internal 1 2 3 4 | |
84 | $ grep HG export_internal | wc -l |
|
84 | $ grep HG export_internal | wc -l | |
85 | \s*4 |
|
85 | \s*4 (re) | |
86 |
|
86 | |||
87 | Exporting 4 changesets to a file: |
|
87 | Exporting 4 changesets to a file: | |
88 |
|
88 | |||
89 | $ hg export 1 2 3 4 | grep HG | wc -l |
|
89 | $ hg export 1 2 3 4 | grep HG | wc -l | |
90 | \s*4 |
|
90 | \s*4 (re) | |
91 |
|
91 | |||
92 | Exporting revision -2 to a file: |
|
92 | Exporting revision -2 to a file: | |
93 |
|
93 |
@@ -21,7 +21,7 b'' | |||||
21 | http incoming |
|
21 | http incoming | |
22 |
|
22 | |||
23 | $ hg -R new incoming http://localhost:$HGPORT/ |
|
23 | $ hg -R new incoming http://localhost:$HGPORT/ | |
24 | comparing with http://localhost:\d+/ |
|
24 | comparing with http://localhost:\d+/ (re) | |
25 | changeset: 0:00a43fa82f62 |
|
25 | changeset: 0:00a43fa82f62 | |
26 | user: test |
|
26 | user: test | |
27 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
27 | date: Thu Jan 01 00:00:00 1970 +0000 | |
@@ -69,7 +69,7 b' http incoming' | |||||
69 | summary: 8 |
|
69 | summary: 8 | |
70 |
|
70 | |||
71 | $ hg -R new incoming -r 4 http://localhost:$HGPORT/ |
|
71 | $ hg -R new incoming -r 4 http://localhost:$HGPORT/ | |
72 | comparing with http://localhost:\d+/ |
|
72 | comparing with http://localhost:\d+/ (re) | |
73 | changeset: 0:00a43fa82f62 |
|
73 | changeset: 0:00a43fa82f62 | |
74 | user: test |
|
74 | user: test | |
75 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
75 | date: Thu Jan 01 00:00:00 1970 +0000 | |
@@ -222,7 +222,7 b' limit to 2 changesets, test with -p --gi' | |||||
222 | test with --bundle |
|
222 | test with --bundle | |
223 |
|
223 | |||
224 | $ hg -R new incoming --bundle test.hg http://localhost:$HGPORT/ |
|
224 | $ hg -R new incoming --bundle test.hg http://localhost:$HGPORT/ | |
225 |
comparing with http://localhost: |
|
225 | comparing with http://localhost:*/ (glob) | |
226 | changeset: 0:00a43fa82f62 |
|
226 | changeset: 0:00a43fa82f62 | |
227 | user: test |
|
227 | user: test | |
228 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
228 | date: Thu Jan 01 00:00:00 1970 +0000 | |
@@ -420,7 +420,7 b' limit to 3 changesets' | |||||
420 | summary: 11 |
|
420 | summary: 11 | |
421 |
|
421 | |||
422 | $ hg -R test-dev outgoing http://localhost:$HGPORT/ |
|
422 | $ hg -R test-dev outgoing http://localhost:$HGPORT/ | |
423 |
comparing with http://localhost: |
|
423 | comparing with http://localhost:*/ (glob) | |
424 | searching for changes |
|
424 | searching for changes | |
425 | changeset: 9:d89d4abea5bc |
|
425 | changeset: 9:d89d4abea5bc | |
426 | user: test |
|
426 | user: test | |
@@ -449,7 +449,7 b' limit to 3 changesets' | |||||
449 | summary: 13 |
|
449 | summary: 13 | |
450 |
|
450 | |||
451 | $ hg -R test-dev outgoing -r 11 http://localhost:$HGPORT/ |
|
451 | $ hg -R test-dev outgoing -r 11 http://localhost:$HGPORT/ | |
452 |
comparing with http://localhost: |
|
452 | comparing with http://localhost:*/ (glob) | |
453 | searching for changes |
|
453 | searching for changes | |
454 | changeset: 9:d89d4abea5bc |
|
454 | changeset: 9:d89d4abea5bc | |
455 | user: test |
|
455 | user: test |
@@ -20,7 +20,7 b' qdiff:' | |||||
20 | $ hg qdiff |
|
20 | $ hg qdiff | |
21 | diff -r d20a80d4def3 base |
|
21 | diff -r d20a80d4def3 base | |
22 | --- a/base Thu Jan 01 00:00:00 1970 +0000 |
|
22 | --- a/base Thu Jan 01 00:00:00 1970 +0000 | |
23 |
|
|
23 | +++ b/base* (glob) | |
24 | @@ -1,1 +1,1 @@ |
|
24 | @@ -1,1 +1,1 @@ | |
25 | -base |
|
25 | -base | |
26 | +patched |
|
26 | +patched |
@@ -44,12 +44,12 b'' | |||||
44 | 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo |
|
44 | 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo | |
45 |
|
45 | |||
46 | $ hg pull |
|
46 | $ hg pull | |
47 | pulling from http://foo:\*\*\*@localhost:.*/ |
|
47 | pulling from http://foo:\*\*\*@localhost:.*/ (re) | |
48 | searching for changes |
|
48 | searching for changes | |
49 | no changes found |
|
49 | no changes found | |
50 |
|
50 | |||
51 | $ hg rollback --dry-run --verbose |
|
51 | $ hg rollback --dry-run --verbose | |
52 | rolling back to revision -1 \(undo pull: http://foo:\*\*\*@localhost:.*/\) |
|
52 | rolling back to revision -1 \(undo pull: http://foo:\*\*\*@localhost:.*/\) (re) | |
53 |
|
53 | |||
54 | Issue 622: |
|
54 | Issue 622: | |
55 |
|
55 |
@@ -2,7 +2,7 b' Simple commands:' | |||||
2 |
|
2 | |||
3 | $ echo foo |
|
3 | $ echo foo | |
4 | foo |
|
4 | foo | |
5 |
$ |
|
5 | $ printf 'bar\nbaz\n' | cat | |
6 | bar |
|
6 | bar | |
7 | baz |
|
7 | baz | |
8 |
|
8 | |||
@@ -23,7 +23,7 b' Regular expressions:' | |||||
23 |
|
23 | |||
24 | Globs: |
|
24 | Globs: | |
25 |
|
25 | |||
26 |
$ |
|
26 | $ printf '* \\foobarbaz {10}\n' | |
27 | \* \\fo?bar* {10} (glob) |
|
27 | \* \\fo?bar* {10} (glob) | |
28 |
|
28 | |||
29 | Literal match ending in " (re)": |
|
29 | Literal match ending in " (re)": |
@@ -73,7 +73,7 b' debugsub' | |||||
73 |
|
73 | |||
74 | $ hg debugsub |
|
74 | $ hg debugsub | |
75 | path s |
|
75 | path s | |
76 |
source file:/// |
|
76 | source file:///*/svn-repo/src (glob) | |
77 | revision 2 |
|
77 | revision 2 | |
78 |
|
78 | |||
79 | change file in svn and hg, commit |
|
79 | change file in svn and hg, commit | |
@@ -82,7 +82,7 b' change file in svn and hg, commit' | |||||
82 | $ echo alpha >> s/alpha |
|
82 | $ echo alpha >> s/alpha | |
83 | $ hg commit -m 'Message!' |
|
83 | $ hg commit -m 'Message!' | |
84 | committing subrepository s |
|
84 | committing subrepository s | |
85 |
Sending |
|
85 | Sending*s/alpha (glob) | |
86 | Transmitting file data . |
|
86 | Transmitting file data . | |
87 | Committed revision 3. |
|
87 | Committed revision 3. | |
88 |
|
88 | |||
@@ -92,7 +92,7 b' change file in svn and hg, commit' | |||||
92 | At revision 3. |
|
92 | At revision 3. | |
93 | $ hg debugsub |
|
93 | $ hg debugsub | |
94 | path s |
|
94 | path s | |
95 |
source file:/// |
|
95 | source file:///*/svn-repo/src (glob) | |
96 | revision 3 |
|
96 | revision 3 | |
97 |
|
97 | |||
98 | $ echo a > s/a |
|
98 | $ echo a > s/a | |
@@ -127,7 +127,7 b' this commit from hg will fail' | |||||
127 | $ hg ci -m 'amend alpha from hg' |
|
127 | $ hg ci -m 'amend alpha from hg' | |
128 | committing subrepository s |
|
128 | committing subrepository s | |
129 | abort: svn: Commit failed (details follow): |
|
129 | abort: svn: Commit failed (details follow): | |
130 | svn: (Out of date)?.*/src/alpha.*(is out of date)? |
|
130 | svn: (Out of date)?.*/src/alpha.*(is out of date)? (re) | |
131 | [255] |
|
131 | [255] | |
132 | $ svn revert -q s/alpha |
|
132 | $ svn revert -q s/alpha | |
133 |
|
133 | |||
@@ -138,7 +138,7 b' this commit fails because of meta change' | |||||
138 | $ hg ci -m 'amend alpha from hg' |
|
138 | $ hg ci -m 'amend alpha from hg' | |
139 | committing subrepository s |
|
139 | committing subrepository s | |
140 | abort: svn: Commit failed (details follow): |
|
140 | abort: svn: Commit failed (details follow): | |
141 | svn: (Out of date)?.*/src/alpha.*(is out of date)? |
|
141 | svn: (Out of date)?.*/src/alpha.*(is out of date)? (re) | |
142 | [255] |
|
142 | [255] | |
143 | $ svn revert -q s/alpha |
|
143 | $ svn revert -q s/alpha | |
144 |
|
144 | |||
@@ -192,7 +192,7 b' debugsub in clone' | |||||
192 |
|
192 | |||
193 | $ hg debugsub |
|
193 | $ hg debugsub | |
194 | path s |
|
194 | path s | |
195 |
source file:/// |
|
195 | source file:///*/svn-repo/src (glob) | |
196 | revision 3 |
|
196 | revision 3 | |
197 |
|
197 | |||
198 | verify subrepo is contained within the repo directory |
|
198 | verify subrepo is contained within the repo directory |
General Comments 0
You need to be logged in to leave comments.
Login now