diff hgext/convert/monotone.py @ 36329:93943eef696f

py3: use pycompat.byteskwargs in hgext/convert/ Differential Revision: https://phab.mercurial-scm.org/D2355
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 19 Feb 2018 23:44:41 +0530
parents 671aba341d90
children 1eee42aed306
line wrap: on
line diff
--- a/hgext/convert/monotone.py	Mon Feb 19 21:45:49 2018 +0530
+++ b/hgext/convert/monotone.py	Mon Feb 19 23:44:41 2018 +0530
@@ -13,6 +13,7 @@
 from mercurial.i18n import _
 from mercurial import (
     error,
+    pycompat,
     util,
 )
 
@@ -89,6 +90,7 @@
 
     def mtnrunstdio(self, *args, **kwargs):
         # Prepare the command in automate stdio format
+        kwargs = pycompat.byteskwargs(kwargs)
         command = []
         for k, v in kwargs.iteritems():
             command.append("%s:%s" % (len(k), k))