# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1524846277 -19800 # Node ID 9d44c71bd892efb3a4407678d5bc77213861c159 # Parent 2f406142d7b4e444b1203c7cff9e1da94a81d733 py3: use pycompat.bytestr() instead of str() in extensions.py Differential Revision: https://phab.mercurial-scm.org/D3568 diff -r 2f406142d7b4 -r 9d44c71bd892 mercurial/extensions.py --- a/mercurial/extensions.py Wed May 16 07:58:02 2018 +0530 +++ b/mercurial/extensions.py Fri Apr 27 21:54:37 2018 +0530 @@ -727,7 +727,7 @@ else: version = '' if isinstance(version, (list, tuple)): - version = '.'.join(str(o) for o in version) + version = '.'.join(pycompat.bytestr(o) for o in version) return version def ismoduleinternal(module):