comparison tests/test-convert-svn-source.out @ 5854:8b95f598097c

convert: separate trunk detection from branch layout detection In some subversion repositories, trunk is present but no branches are used. The current code is assuming that both trunk and branches must exist before adding trunk's head to the heads list. It's just better to separate the branch layout stuff from the trunk one.
author Edouard Gomez <ed.gomez@free.fr>
date Sat, 05 Jan 2008 01:51:21 +0100
parents de8311f7a31b
children 7c2921a60035
comparison
equal deleted inserted replaced
5853:deb0d3518674 5854:8b95f598097c
116 o 0 init projA files: 116 o 0 init projA files:
117 117
118 tip 118 tip
119 v0.2 119 v0.2
120 v0.1 120 v0.1
121 # now tests that it works with trunk/tags layout, but no branches yet
122
123 % initial svn import
124 Adding projB/trunk
125 Adding projB/tags
126
127 Committed revision 12.
128 % update svn repository
129 Checked out revision 12.
130 A letter.txt
131 Adding letter.txt
132 Transmitting file data .
133 Committed revision 13.
134 Sending letter.txt
135 Transmitting file data .
136 Committed revision 14.
137
138 Committed revision 15.
139 Sending letter.txt
140 Transmitting file data .
141 Committed revision 16.
142 % convert to hg once
143 initializing destination B-hg repository
144 scanning source...
145 sorting...
146 converting...
147 3 init projB
148 2 hello
149 1 world
150 0 nice day
151 updating tags
152 % update svn repository again
153 A letter2.txt
154 Sending letter.txt
155 Adding letter2.txt
156 Transmitting file data ..
157 Committed revision 17.
158
159 Committed revision 18.
160 Sending letter2.txt
161 Transmitting file data .
162 Committed revision 19.
163 % test incremental conversion
164 scanning source...
165 sorting...
166 converting...
167 1 second letter
168 0 work in progress
169 updating tags
170 o 7 update tags files: .hgtags
171 |
172 o 6 work in progress files: letter2.txt
173 |
174 o 5 second letter files: letter.txt letter2.txt
175 |
176 o 4 update tags files: .hgtags
177 |
178 o 3 nice day files: letter.txt
179 |
180 o 2 world files: letter.txt
181 |
182 o 1 hello files: letter.txt
183 |
184 o 0 init projB files:
185
186 tip
187 v0.2
188 v0.1