# HG changeset patch # User Sean Farley # Date 1395678049 18000 # Node ID 199933008ab570d13e2722406bc328eb3c93b69c # Parent 51f88d3aa4ddd501c0ccc207bacd86c2d95827c3 svncommands: use util.dump instead of layout_to_file diff --git a/hgsubversion/svncommands.py b/hgsubversion/svncommands.py --- a/hgsubversion/svncommands.py +++ b/hgsubversion/svncommands.py @@ -192,7 +192,7 @@ def _buildmeta(ui, repo, args, partial=F ctx.branch(), ui) existing_layout = layouts.detect.layout_from_file(meta.metapath) if layout != existing_layout: - layouts.persist.layout_to_file(meta.metapath, layout) + util.dump(layout, meta.layout_file) layoutobj = layouts.layout_from_name(layout, ui) elif layout == 'single': assert (subdir or '/') == revpath, ('Possible layout detection'