hgext/convert/subversion.py
changeset 44452 9d2b2df2c2ba
parent 44022 c1ccefb513e4
child 44867 8e8fd938ca07
child 44963 4888adfb6235
--- a/hgext/convert/subversion.py	Fri Mar 06 10:52:44 2020 +0100
+++ b/hgext/convert/subversion.py	Fri Mar 06 13:27:41 2020 -0500
@@ -710,11 +710,11 @@
                 # 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)
+                addeds = {
+                    p: e.copyfrom_path
                     for p, e in pycompat.iteritems(origpaths)
                     if e.action == b'A' and e.copyfrom_path
-                )
+                }
                 badroots = set()
                 for destroot in addeds:
                     for source, sourcerev, dest in pendings: