changeset 22037 | 8665c647da6e |
parent 21910 | fc04fdb2b349 |
child 22383 | f58b41f6708b |
--- a/mercurial/config.py Thu Jul 31 13:51:17 2014 -0700 +++ b/mercurial/config.py Tue Aug 05 21:16:24 2014 -0700 @@ -76,7 +76,7 @@ # no data before, remove everything section, item = data if section in self._data: - del self._data[section][item] + self._data[section].pop(item, None) self._source.pop((section, item), None) def parse(self, src, data, sections=None, remap=None, include=None):