Mercurial > hg-stable
changeset 36205:73621823a1ac
histedit: convert bool to bytestring manually
Yes, this format has 'True' and 'False' in it. I'm sorry, as it's
almost certainly my fault.
Differential Revision: https://phab.mercurial-scm.org/D2240
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 13 Feb 2018 17:25:25 -0500 |
parents | ccf7ae119769 |
children | be73fa5b42d3 |
files | hgext/histedit.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/histedit.py Tue Feb 13 13:38:38 2018 -0500 +++ b/hgext/histedit.py Tue Feb 13 17:25:25 2018 -0500 @@ -344,7 +344,7 @@ fp.write('v1\n') fp.write('%s\n' % node.hex(self.parentctxnode)) fp.write('%s\n' % node.hex(self.topmost)) - fp.write('%s\n' % self.keep) + fp.write('%s\n' % ('True' if self.keep else 'False')) fp.write('%d\n' % len(self.actions)) for action in self.actions: fp.write('%s\n' % action.tostate())