hgext/mq.py
changeset 35843 512113eb9d26
parent 35842 9bce28609a95
child 35844 522f868680ca
--- a/hgext/mq.py	Wed Jan 17 22:04:34 2018 -0500
+++ b/hgext/mq.py	Wed Jan 17 22:05:02 2018 -0500
@@ -695,7 +695,7 @@
 
     def savedirty(self):
         def writelist(items, path):
-            fp = self.opener(path, 'w')
+            fp = self.opener(path, 'wb')
             for i in items:
                 fp.write("%s\n" % i)
             fp.close()