# HG changeset patch # User Sean Farley # Date 1395678049 18000 # Node ID 54cf64e9ef492fb957ae4bca82d2c084b398afa5 # Parent 199933008ab570d13e2722406bc328eb3c93b69c svnmeta: use util.dump instead of layout_to_file diff --git a/hgsubversion/svnmeta.py b/hgsubversion/svnmeta.py --- a/hgsubversion/svnmeta.py +++ b/hgsubversion/svnmeta.py @@ -148,7 +148,7 @@ class SVNMeta(object): # gets called if not self._layout or self._layout == 'auto': self._layout = layouts.detect.layout_from_config(self.repo.ui) - layouts.persist.layout_to_file(self.metapath, self._layout) + util.dump(self._layout, self.layout_file) return self._layout @property