##// END OF EJS Templates
py3: replace str(None) with literal in convcmd.py
Yuya Nishihara -
r34355:ee10eb66 default
parent child Browse files
Show More
@@ -87,7 +87,7 b' def mapbranch(branch, branchmap):'
87 # At some point we used "None" literal to denote the default branch,
87 # At some point we used "None" literal to denote the default branch,
88 # attempt to use that for backward compatibility.
88 # attempt to use that for backward compatibility.
89 if (not branch):
89 if (not branch):
90 branch = branchmap.get(str(None), branch)
90 branch = branchmap.get('None', branch)
91 return branch
91 return branch
92
92
93 source_converters = [
93 source_converters = [
@@ -71,7 +71,7 b" testmod('mercurial.ui')"
71 testmod('mercurial.url')
71 testmod('mercurial.url')
72 testmod('mercurial.util', py3=False) # py3: multiple bytes/unicode issues
72 testmod('mercurial.util', py3=False) # py3: multiple bytes/unicode issues
73 testmod('mercurial.util', testtarget='platform')
73 testmod('mercurial.util', testtarget='platform')
74 testmod('hgext.convert.convcmd', py3=False) # py3: use of str() ?
74 testmod('hgext.convert.convcmd')
75 testmod('hgext.convert.cvsps')
75 testmod('hgext.convert.cvsps')
76 testmod('hgext.convert.filemap')
76 testmod('hgext.convert.filemap')
77 testmod('hgext.convert.p4')
77 testmod('hgext.convert.p4')
General Comments 0
You need to be logged in to leave comments. Login now