D1903: mq: use bytes() instead of str() to encode statusentries for writing
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Jan 18 11:13:30 EST 2018
durin42 updated this revision to Diff 4910.
durin42 retitled this revision from "mq: use pycompat.bytestr() instead of str() to encode statusentries for writing" to "mq: use bytes() instead of str() to encode statusentries for writing".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1903?vs=4893&id=4910
REVISION DETAIL
https://phab.mercurial-scm.org/D1903
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
@@ -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)
To: durin42, #hg-reviewers
Cc: yuja, mercurial-devel
More information about the Mercurial-devel
mailing list