changeset 1300:5a68a6b44336

wrappers: call new meta.layout_from_subversion
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:54 -0500
parents 8b3b456afd5f
children 9e46dfddd3a9
files hgsubversion/wrappers.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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: