diff hgsubversion/svnmeta.py @ 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 51f88d3aa4dd
children 4744b7bfa476
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