changeset 9169:7a276f72a08a

Merge with crew-stable
author Patrick Mezard <pmezard@gmail.com>
date Fri, 17 Jul 2009 16:01:19 +0200
parents b67adc2daa15 (current diff) e8441597d2ee (diff)
children 7bfce9c948aa
files hgext/convert/subversion.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Thu Jul 16 21:05:24 2009 -0700
+++ b/hgext/convert/subversion.py	Fri Jul 17 16:01:19 2009 +0200
@@ -454,8 +454,9 @@
                 # Here/tags/tag.1 discarded as well as its children.
                 # It happens with tools like cvs2svn. Such tags cannot
                 # be represented in mercurial.
-                addeds = dict((p, e.copyfrom_path) for p, e
-                              in origpaths.iteritems() if e.action == 'A')
+                addeds = dict((p, e.copyfrom_path) for p, e 
+                              in origpaths.iteritems() 
+                              if e.action == 'A' and e.copyfrom_path)
                 badroots = set()
                 for destroot in addeds:
                     for source, sourcerev, dest in pendings: