author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
Sun, 16 Jul 2006 00:01:41 +0200 | |
changeset 2624 | 46e52bbb9b1a |
parent 2617 | 0b4bff2b0ce3 |
child 2625 | 70d65ca6d893 |
mercurial/ui.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/ui.py Sat Jul 15 17:00:23 2006 +0200 +++ b/mercurial/ui.py Sun Jul 16 00:01:41 2006 +0200 @@ -209,7 +209,7 @@ def expandpath(self, loc, default=None): """Return repository location relative to cwd or from [paths]""" - if "://" in loc or os.path.exists(loc): + if "://" in loc or os.path.isdir(loc): return loc path = self.config("paths", loc)