##// END OF EJS Templates
convert/svn: fix backtrace in tags discovery (issue1742)
Patrick Mezard -
r9168:e8441597 default
parent child Browse files
Show More
@@ -455,8 +455,9 b' class svn_source(converter_source):'
455 # Here/tags/tag.1 discarded as well as its children.
455 # Here/tags/tag.1 discarded as well as its children.
456 # It happens with tools like cvs2svn. Such tags cannot
456 # It happens with tools like cvs2svn. Such tags cannot
457 # be represented in mercurial.
457 # be represented in mercurial.
458 addeds = dict((p, e.copyfrom_path) for p, e
458 addeds = dict((p, e.copyfrom_path) for p, e
459 in origpaths.iteritems() if e.action == 'A')
459 in origpaths.iteritems()
460 if e.action == 'A' and e.copyfrom_path)
460 badroots = set()
461 badroots = set()
461 for destroot in addeds:
462 for destroot in addeds:
462 for source, sourcerev, dest in pendings:
463 for source, sourcerev, dest in pendings:
General Comments 0
You need to be logged in to leave comments. Login now