D1902: mq: open status file et al in bytes mode
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Feb 1 20:43:14 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG177eb3847a0a: mq: open status file et al in bytes mode (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1902?vs=4909&id=5072
REVISION DETAIL
https://phab.mercurial-scm.org/D1902
AFFECTED FILES
hgext/mq.py
CHANGE DETAILS
diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -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()
To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list