Mercurial > hgsubversion
changeset 1262:199933008ab5
svncommands: 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 | 54cf64e9ef49 |
files | hgsubversion/svncommands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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'