hgext/mq.py
changeset 35884 522f868680ca
parent 35883 512113eb9d26
child 35928 c8e2d6ed1f9e
--- a/hgext/mq.py	Wed Jan 17 22:05:02 2018 -0500
+++ b/hgext/mq.py	Wed Jan 17 22:05:37 2018 -0500
@@ -700,7 +700,7 @@
                 fp.write("%s\n" % i)
             fp.close()
         if self.applieddirty:
-            writelist(map(str, self.applied), self.statuspath)
+            writelist(map(bytes, self.applied), self.statuspath)
             self.applieddirty = False
         if self.seriesdirty:
             writelist(self.fullseries, self.seriespath)