# HG changeset patch # User Simon Heimberg # Date 1311394129 -7200 # Node ID 1bc970a779771de29f0512ac6cf70aeb45388af7 # Parent e259375459d649882b385271c8b7b1ff9afae09f ui: fix error, base can not be a list diff -r e259375459d6 -r 1bc970a77977 mercurial/ui.py --- a/mercurial/ui.py Sat Jul 23 11:52:25 2011 -0500 +++ b/mercurial/ui.py Sat Jul 23 06:08:49 2011 +0200 @@ -169,7 +169,7 @@ if not os.path.isabs(v) or "://" not in v: src = self.configsource(section, name, untrusted) if ':' in src: - base = os.path.dirname(src.rsplit(':')) + base = os.path.dirname(src.rsplit(':')[0]) v = os.path.join(base, os.path.expanduser(v)) return v