changeset 1314:577054dbd9af

svnmeta: use self.layout instead of calling ui.config directly
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:55 -0500 (2014-03-24)
parents 5f80c92be718
children 14dab195b2b4
files hgsubversion/svnmeta.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
@@ -199,8 +199,7 @@ class SVNMeta(object):
         if len(candidates) == 1:
             return candidates.pop()
         elif candidates:
-            config_layout = layouts.detect.layout_from_config(self,
-                                                              allow_auto=True)
+            config_layout = self.layout
             if config_layout in candidates:
                 return config_layout