##// END OF EJS Templates
convert: svn merges produce hard-to-trace file entries. Ignore them for now.
Brendan Cully -
r4798:83c1bbb9 default
parent child Browse files
Show More
@@ -313,7 +313,7 b' class convert_svn(converter_source):'
313 fromkind = svn.ra.check_path(self.ra, entrypath, fromrev)
313 fromkind = svn.ra.check_path(self.ra, entrypath, fromrev)
314 if fromkind == svn.core.svn_node_file: # a deleted file
314 if fromkind == svn.core.svn_node_file: # a deleted file
315 entries.append(self.recode(entry))
315 entries.append(self.recode(entry))
316 else:
316 elif fromkind == svn.core.svn_node_dir:
317 # print "Deleted/moved non-file:", revnum, path, ent
317 # print "Deleted/moved non-file:", revnum, path, ent
318 # children = self._find_children(path, revnum - 1)
318 # children = self._find_children(path, revnum - 1)
319 # print "find children %s@%d from %d action %s" % (path, revnum, ent.copyfrom_rev, ent.action)
319 # print "find children %s@%d from %d action %s" % (path, revnum, ent.copyfrom_rev, ent.action)
@@ -343,6 +343,9 b' class convert_svn(converter_source):'
343 del copies[entry]
343 del copies[entry]
344 else:
344 else:
345 entries.append(entry)
345 entries.append(entry)
346 else:
347 self.ui.debug('unknown path in revision %d: %s\n' % \
348 (revnum, path))
346 elif kind == svn.core.svn_node_dir:
349 elif kind == svn.core.svn_node_dir:
347 # Should probably synthesize normal file entries
350 # Should probably synthesize normal file entries
348 # and handle as above to clean up copy/rename handling.
351 # and handle as above to clean up copy/rename handling.
General Comments 0
You need to be logged in to leave comments. Login now