py3: don't return the revid as unicode in hgext/convert/subversion.py
authorPulkit Goyal <pulkit@yandex-team.ru>
Tue, 04 Sep 2018 17:16:29 +0300
changeset 39426 34fe76b31ca4
parent 39425 2dd9519b8c8a
child 39427 3694c9aaf5e4
py3: don't return the revid as unicode in hgext/convert/subversion.py I tried digging why u'' was added in first place, and I was unable to found something relevant. This might be because some API's takes unicodes, I am not sure. Differential Revision: https://phab.mercurial-scm.org/D4454
hgext/convert/subversion.py
--- a/hgext/convert/subversion.py	Tue Sep 04 17:15:17 2018 +0300
+++ b/hgext/convert/subversion.py	Tue Sep 04 17:16:29 2018 +0300
@@ -1270,7 +1270,7 @@
         self.childmap[parent] = child
 
     def revid(self, rev):
-        return u"svn:%s@%s" % (self.uuid, rev)
+        return "svn:%s@%s" % (self.uuid, rev)
 
     def putcommit(self, files, copies, parents, commit, source, revmap, full,
                   cleanp2):