Mercurial > hg
changeset 9168:e8441597d2ee
convert/svn: fix backtrace in tags discovery (issue1742)
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Fri, 17 Jul 2009 13:31:12 +0200 |
parents | 335f749cc369 |
children | 7a276f72a08a fe160ba4c976 705278e70457 |
files | hgext/convert/subversion.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Fri Jul 10 19:45:31 2009 +0200 +++ b/hgext/convert/subversion.py Fri Jul 17 13:31:12 2009 +0200 @@ -455,8 +455,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: