Show More
@@ -209,7 +209,7 b' class ui(object):' | |||||
209 |
|
209 | |||
210 | def expandpath(self, loc, default=None): |
|
210 | def expandpath(self, loc, default=None): | |
211 | """Return repository location relative to cwd or from [paths]""" |
|
211 | """Return repository location relative to cwd or from [paths]""" | |
212 |
if "://" in loc or os.path. |
|
212 | if "://" in loc or os.path.isdir(loc): | |
213 | return loc |
|
213 | return loc | |
214 |
|
214 | |||
215 | path = self.config("paths", loc) |
|
215 | path = self.config("paths", loc) |
General Comments 0
You need to be logged in to leave comments.
Login now