Mercurial > hgsubversion
changeset 1144:729becb9154b
maps: call util.dump instead save_string
Now that we're using json, we can use one centralized way of serializing data.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Sat, 15 Feb 2014 10:54:08 -0600 |
parents | 166db09962df |
children | d2b4a65921fe |
files | hgsubversion/maps.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/maps.py +++ b/hgsubversion/maps.py @@ -212,7 +212,7 @@ class RevMap(dict): def _set_youngest(self, rev): self._youngest = max(self._youngest, rev) - util.save_string(self.ypath, str(self._youngest) + '\n') + util.dump(self._youngest, self.ypath) def _get_youngest(self): return self._youngest