hgext/convert/subversion.py
branchstable
changeset 19468 82c512643bed
parent 19122 83973dc1bfe9
child 19787 87f07f70f227
--- a/hgext/convert/subversion.py	Fri Jul 19 12:58:30 2013 -0500
+++ b/hgext/convert/subversion.py	Fri Jul 19 16:45:44 2013 -0500
@@ -483,6 +483,8 @@
         try:
             for entry in stream:
                 origpaths, revnum, author, date, message = entry
+                if not origpaths:
+                    origpaths = []
                 copies = [(e.copyfrom_path, e.copyfrom_rev, p) for p, e
                           in origpaths.iteritems() if e.copyfrom_path]
                 # Apply moves/copies from more specific to general