Show More
@@ -206,6 +206,7 b' class convert_svn(converter_source):' | |||
|
206 | 206 | strict_node_history, |
|
207 | 207 | receiver) |
|
208 | 208 | except SubversionException, (_, num): |
|
209 | self.ui.print_exc() | |
|
209 | 210 | pickle.dump(num, fp, protocol) |
|
210 | 211 | else: |
|
211 | 212 | pickle.dump(None, fp, protocol) |
@@ -238,7 +239,9 b' class convert_svn(converter_source):' | |||
|
238 | 239 | |
|
239 | 240 | def gettags(self): |
|
240 | 241 | tags = {} |
|
241 |
|
|
|
242 | start = self.revnum(self.head) | |
|
243 | try: | |
|
244 | for entry in self.get_log(['/tags'], 0, start): | |
|
242 | 245 | orig_paths, revnum, author, date, message = entry |
|
243 | 246 | for path in orig_paths: |
|
244 | 247 | if not path.startswith('/tags/'): |
@@ -248,6 +251,8 b' class convert_svn(converter_source):' | |||
|
248 | 251 | rev = ent.copyfrom_rev |
|
249 | 252 | tag = path.split('/', 2)[2] |
|
250 | 253 | tags[tag] = self.revid(rev, module=source) |
|
254 | except SubversionException, (_, num): | |
|
255 | self.ui.note('no tags found at revision %d\n' % start) | |
|
251 | 256 | return tags |
|
252 | 257 | |
|
253 | 258 | # -- helper functions -- |
General Comments 0
You need to be logged in to leave comments.
Login now