Mercurial > hg-stable
changeset 14922:1bc970a77977
ui: fix error, base can not be a list
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Sat, 23 Jul 2011 06:08:49 +0200 |
parents | e259375459d6 |
children | 351624f8f523 |
files | mercurial/ui.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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