# HG changeset patch # User Augie Fackler # Date 1516244702 18000 # Node ID 512113eb9d264674b593ad037496b5009a49c3d3 # Parent 9bce28609a95fdc8c363f7e217169fada042d63a mq: open status file et al in bytes mode Differential Revision: https://phab.mercurial-scm.org/D1902 diff -r 9bce28609a95 -r 512113eb9d26 hgext/mq.py --- 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()