##// END OF EJS Templates
convert: fix invalid svn.ra.check_path() call (issue 771)...
Patrick Mezard -
r5880:b32a0596 default
parent child Browse files
Show More
@@ -439,7 +439,12 b' class svn_source(converter_source):'
439 fromrev = froment.copyfrom_rev
439 fromrev = froment.copyfrom_rev
440 self.ui.debug("Info: %s %s %s %s\n" % (frompath, froment, ent, entrypath))
440 self.ui.debug("Info: %s %s %s %s\n" % (frompath, froment, ent, entrypath))
441
441
442 fromkind = svn.ra.check_path(self.ra, entrypath, fromrev)
442 # We can avoid the reparent calls if the module has not changed
443 # but it probably does not worth the pain.
444 self.reparent('')
445 fromkind = svn.ra.check_path(self.ra, entrypath.strip('/'), fromrev)
446 self.reparent(self.module)
447
443 if fromkind == svn.core.svn_node_file: # a deleted file
448 if fromkind == svn.core.svn_node_file: # a deleted file
444 entries.append(self.recode(entry))
449 entries.append(self.recode(entry))
445 elif fromkind == svn.core.svn_node_dir:
450 elif fromkind == svn.core.svn_node_dir:
General Comments 0
You need to be logged in to leave comments. Login now