Mercurial > hg
changeset 1921:acce3f7e1779
Don't expand empty [paths] so later interpolation can do the right thing.
Example:
[paths]
default =
default-push = %(default)s
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 12 Mar 2006 20:34:09 +0100 |
parents | 4c53aaf2d153 |
children | 6d50d6189269 |
files | mercurial/ui.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/ui.py Sun Mar 12 20:23:05 2006 +0100 +++ b/mercurial/ui.py Sun Mar 12 20:34:09 2006 +0100 @@ -60,7 +60,7 @@ if root is None: root = os.path.expanduser('~') for name, path in self.configitems("paths"): - if path.find("://") == -1 and not os.path.isabs(path): + if path and path.find("://") == -1 and not os.path.isabs(path): self.cdata.set("paths", name, os.path.join(root, path)) def setconfig(self, section, name, val):