changeset 20789 | d19c9bdbbf35 |
parent 19087 | 7d82ad4b3727 |
child 21813 | c2262004c2e2 |
--- a/mercurial/config.py Wed Mar 19 02:45:04 2014 +0100 +++ b/mercurial/config.py Wed Mar 19 02:45:14 2014 +0100 @@ -93,7 +93,8 @@ if section not in self: self._data[section] = sortdict() self._data[section][item] = value - self._source[(section, item)] = source + if source: + self._source[(section, item)] = source def restore(self, data): """restore data returned by self.backup"""