py3: convert kwargs' keys to str using pycompat.strkwargs
authorPulkit Goyal <7895pulkit@gmail.com>
Thu, 04 May 2017 00:24:21 +0530
changeset 32289 770bbfdc9644
parent 32288 a2ab9ebcd85b
child 32290 2959c3e986e0
py3: convert kwargs' keys to str using pycompat.strkwargs
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Sun May 14 09:38:06 2017 -0700
+++ b/mercurial/cmdutil.py	Thu May 04 00:24:21 2017 +0530
@@ -1496,6 +1496,7 @@
         props['index'] = next(self._counter)
         props['revcache'] = {'copies': copies}
         props['cache'] = self.cache
+        props = pycompat.strkwargs(props)
 
         # write header
         if self._parts['header']: