# HG changeset patch # User Sean Farley # Date 1395678056 18000 # Node ID 72fe317a7b94b0a8a8ac2865f4e2be2dd6436c8c # Parent 15c313b6056709b82ab11d80de3f02b89a268577 svnmeta: add functionality for configitems in _get_cachedconfig diff --git a/hgsubversion/svnmeta.py b/hgsubversion/svnmeta.py --- a/hgsubversion/svnmeta.py +++ b/hgsubversion/svnmeta.py @@ -94,6 +94,8 @@ class SVNMeta(object): c = self.ui.configint('hgsubversion', configname, default) elif isinstance(default, list): c = self.ui.configlist('hgsubversion', configname, default) + elif isinstance(default, dict): + c = dict(self.ui.configitems(configname)) else: c = self.ui.config('hgsubversion', configname, default)