Show More
@@ -1,135 +1,135 b'' | |||||
1 |
|
1 | |||
2 | $ "$TESTDIR/hghave" svn svn-bindings || exit 80 |
|
2 | $ "$TESTDIR/hghave" svn svn-bindings || exit 80 | |
3 |
|
3 | |||
4 | $ cat > $HGRCPATH <<EOF |
|
4 | $ cat > $HGRCPATH <<EOF | |
5 | > [extensions] |
|
5 | > [extensions] | |
6 | > convert = |
|
6 | > convert = | |
7 | > graphlog = |
|
7 | > graphlog = | |
8 | > EOF |
|
8 | > EOF | |
9 |
|
9 | |||
10 | $ svnadmin create svn-repo |
|
10 | $ svnadmin create svn-repo | |
11 | $ svnadmin load -q svn-repo < "$TESTDIR/svn/encoding.svndump" |
|
11 | $ svnadmin load -q svn-repo < "$TESTDIR/svn/encoding.svndump" | |
12 |
|
12 | |||
13 | Convert while testing all possible outputs |
|
13 | Convert while testing all possible outputs | |
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://*/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' | |
21 | found tags at 'tags' |
|
21 | found tags at 'tags' | |
22 | found branches at 'branches' |
|
22 | found branches at 'branches' | |
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://*/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) | |
30 | parsing revision 2 (3 changes) |
|
30 | parsing revision 2 (3 changes) | |
31 | parsing revision 1 (3 changes) |
|
31 | parsing revision 1 (3 changes) | |
32 | no copyfrom path, don't know what to do. |
|
32 | no copyfrom path, don't know what to do. | |
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://*/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://*/svn-repo (glob) | |
40 |
reparent to file:// |
|
40 | reparent to file://*/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://*/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://*/svn-repo (glob) | |
47 |
reparent to file:// |
|
47 | reparent to file://*/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 | |
51 | scanning: 6 revisions |
|
51 | scanning: 6 revisions | |
52 | sorting... |
|
52 | sorting... | |
53 | converting... |
|
53 | converting... | |
54 | 5 init projA |
|
54 | 5 init projA | |
55 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@1 |
|
55 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@1 | |
56 | converting: 0/6 revisions (0.00%) |
|
56 | converting: 0/6 revisions (0.00%) | |
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://*/svn-repo/trunk (glob) | |
61 | scanning paths: /trunk/à 0/3 (0.00%) |
|
61 | scanning paths: /trunk/à 0/3 (0.00%) | |
62 | scanning paths: /trunk/à/é 1/3 (33.33%) |
|
62 | scanning paths: /trunk/à/é 1/3 (33.33%) | |
63 | scanning paths: /trunk/é 2/3 (66.67%) |
|
63 | scanning paths: /trunk/é 2/3 (66.67%) | |
64 | à/é |
|
64 | à/é | |
65 | getting files: à/é 1/2 (50.00%) |
|
65 | getting files: à/é 1/2 (50.00%) | |
66 | é |
|
66 | é | |
67 | getting files: é 2/2 (100.00%) |
|
67 | getting files: é 2/2 (100.00%) | |
68 | 3 copy files |
|
68 | 3 copy files | |
69 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@3 |
|
69 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@3 | |
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://*/svn-repo (glob) | |
74 |
reparent to file:// |
|
74 | reparent to file://*/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://*/svn-repo (glob) | |
80 |
reparent to file:// |
|
80 | reparent to file://*/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 | à/é |
|
83 | à/é | |
84 | getting files: à/é 1/4 (25.00%) |
|
84 | getting files: à/é 1/4 (25.00%) | |
85 | è |
|
85 | è | |
86 | getting files: è 2/4 (50.00%) |
|
86 | getting files: è 2/4 (50.00%) | |
87 | è: copy é:6b67ccefd5ce6de77e7ead4f5292843a0255329f |
|
87 | è: copy é:6b67ccefd5ce6de77e7ead4f5292843a0255329f | |
88 | é |
|
88 | é | |
89 | getting files: é 3/4 (75.00%) |
|
89 | getting files: é 3/4 (75.00%) | |
90 | ù/é |
|
90 | ù/é | |
91 | getting files: ù/é 4/4 (100.00%) |
|
91 | getting files: ù/é 4/4 (100.00%) | |
92 | ù/é: copy à/é:a9092a3d84a37b9993b5c73576f6de29b7ea50f6 |
|
92 | ù/é: copy à/é:a9092a3d84a37b9993b5c73576f6de29b7ea50f6 | |
93 | 2 remove files |
|
93 | 2 remove files | |
94 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@4 |
|
94 | source: svn:afeb9c47-92ff-4c0c-9f72-e1f6eb8ac9af/trunk@4 | |
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://*/svn-repo (glob) | |
99 |
reparent to file:// |
|
99 | reparent to file://*/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://*/svn-repo (glob) | |
103 |
reparent to file:// |
|
103 | reparent to file://*/svn-repo/trunk (glob) | |
104 | è |
|
104 | è | |
105 | getting files: è 1/2 (50.00%) |
|
105 | getting files: è 1/2 (50.00%) | |
106 | ù/é |
|
106 | ù/é | |
107 | getting files: ù/é 2/2 (100.00%) |
|
107 | getting files: ù/é 2/2 (100.00%) | |
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://*/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://*/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://*/svn-repo (glob) | |
119 |
reparent to file:// |
|
119 | reparent to file://*/svn-repo/branches/branch%C3%A9e (glob) | |
120 |
reparent to file:// |
|
120 | reparent to file://*/svn-repo (glob) | |
121 |
reparent to file:// |
|
121 | reparent to file://*/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 | |
125 | $ cd A-hg |
|
125 | $ cd A-hg | |
126 | $ hg up |
|
126 | $ hg up | |
127 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
127 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
128 |
|
128 | |||
129 | Check tags are in UTF-8 |
|
129 | Check tags are in UTF-8 | |
130 |
|
130 | |||
131 | $ python -c "print '\n'.join([('%r' % l) for l in file('.hgtags', 'rb').readlines()])" |
|
131 | $ python -c "print '\n'.join([('%r' % l) for l in file('.hgtags', 'rb').readlines()])" | |
132 | '221c3fdaf24df5f14c0a64c597581e2eacfb47bb branch\xc3\xa9e\n' |
|
132 | '221c3fdaf24df5f14c0a64c597581e2eacfb47bb branch\xc3\xa9e\n' | |
133 | '7a40952c2db29cf00d9e31df3749e98d8a4bdcbf branch\xc3\xa9\n' |
|
133 | '7a40952c2db29cf00d9e31df3749e98d8a4bdcbf branch\xc3\xa9\n' | |
134 |
|
134 | |||
135 | $ cd .. |
|
135 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now