Mercurial > hg-stable
changeset 34455:0efdfb57b05c
config: add a missing preparewrite() call
Thanks Yuya for pointing this out in D808.
Differential Revision: https://phab.mercurial-scm.org/D924
author | Jun Wu <quark@fb.com> |
---|---|
date | Tue, 03 Oct 2017 12:00:07 -0700 |
parents | 40b6d25ed2d5 |
children | 5c122b410706 |
files | mercurial/config.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/config.py Tue Oct 03 16:59:17 2017 -0700 +++ b/mercurial/config.py Tue Oct 03 12:00:07 2017 -0700 @@ -177,6 +177,7 @@ if sections and section not in sections: continue if self.get(section, name) is not None: + self._data[section] = self._data[section].preparewrite() del self._data[section][name] self._unset.append((section, name)) continue