changeset 39432:16c27483f50f

py3: bytestr a bytes val to make sure we get bytechr while iterating Differential Revision: https://phab.mercurial-scm.org/D4460
author Pulkit Goyal <pulkit@yandex-team.ru>
date Tue, 04 Sep 2018 17:58:39 +0300
parents 5bf99c27a7b6
children 8466c6075161
files hgext/keyword.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/keyword.py	Tue Sep 04 17:53:54 2018 +0300
+++ b/hgext/keyword.py	Tue Sep 04 17:58:39 2018 +0300
@@ -567,7 +567,7 @@
         showfiles += ([f for f in files if f not in kwfiles],
                       [f for f in status.unknown if f not in kwunknown])
     kwlabels = 'enabled deleted enabledunknown ignored ignoredunknown'.split()
-    kwstates = zip(kwlabels, 'K!kIi', showfiles)
+    kwstates = zip(kwlabels, pycompat.bytestr('K!kIi'), showfiles)
     fm = ui.formatter('kwfiles', opts)
     fmt = '%.0s%s\n'
     if opts.get('all') or ui.verbose: