changeset 39445:34fe76b31ca4

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
author Pulkit Goyal <pulkit@yandex-team.ru>
date Tue, 04 Sep 2018 17:16:29 +0300
parents 2dd9519b8c8a
children 3694c9aaf5e4
files hgext/convert/subversion.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):