changeset 1263:54cf64e9ef49

svnmeta: use util.dump instead of layout_to_file
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:49 -0500
parents 199933008ab5
children eded1e736a7e
files hgsubversion/svnmeta.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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