Mercurial > hg
changeset 35844:522f868680ca
mq: use bytes() instead of str() to encode statusentries for writing
Differential Revision: https://phab.mercurial-scm.org/D1903
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 17 Jan 2018 22:05:37 -0500 |
parents | 512113eb9d26 |
children | be923ce44d6a |
files | hgext/mq.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)