# HG changeset patch # User Sean Farley # Date 1395678055 18000 # Node ID 577054dbd9af0a5ce3872b458caf4ca18322d6a5 # Parent 5f80c92be7186d9d8f88c4408460a81453cdf861 svnmeta: use self.layout instead of calling ui.config directly diff --git a/hgsubversion/svnmeta.py b/hgsubversion/svnmeta.py --- 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