##// END OF EJS Templates
merge with crew-stable
Thomas Arendsen Hein -
r4221:0a95d0e8 merge default
parent child Browse files
Show More
@@ -361,7 +361,7 class ui(object):
361
361
362 def expandpath(self, loc, default=None):
362 def expandpath(self, loc, default=None):
363 """Return repository location relative to cwd or from [paths]"""
363 """Return repository location relative to cwd or from [paths]"""
364 if "://" in loc or os.path.isdir(loc):
364 if "://" in loc or os.path.isdir(os.path.join(loc, '.hg')):
365 return loc
365 return loc
366
366
367 path = self.config("paths", loc)
367 path = self.config("paths", loc)
General Comments 0
You need to be logged in to leave comments. Login now