diff -r 3f6be77eda58 -r 36c6e4c3ff43 mercurial/ui.py --- a/mercurial/ui.py Mon Mar 13 08:24:44 2006 -0800 +++ b/mercurial/ui.py Mon Mar 13 08:25:33 2006 -0800 @@ -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):