# HG changeset patch # User Sean Farley # Date 1395678054 18000 # Node ID 5a68a6b443365776944221853448c1a02f7b007a # Parent 8b3b456afd5ff823b7dcbb18acc965146be79296 wrappers: call new meta.layout_from_subversion diff --git a/hgsubversion/wrappers.py b/hgsubversion/wrappers.py --- a/hgsubversion/wrappers.py +++ b/hgsubversion/wrappers.py @@ -401,9 +401,7 @@ def pull(repo, source, heads=[], force=F layout = layouts.detect.layout_from_config(meta, allow_auto=True) if layout == 'auto': - layout = layouts.detect.layout_from_subversion(svn, - (stopat_rev or None), - meta) + layout = meta.layout_from_subversion(svn, (stopat_rev or None)) repo.ui.note('using %s layout\n' % layout) if meta.branch: