##// END OF EJS Templates
hg: note that islocal only accepts paths pointing to repos...
Siddharth Agarwal -
r20355:7d269e76 stable
parent child Browse files
Show More
@@ -82,7 +82,7 def _peerlookup(path):
82 return thing
82 return thing
83
83
84 def islocal(repo):
84 def islocal(repo):
85 '''return true if repo or path is local'''
85 '''return true if repo (or path pointing to repo) is local'''
86 if isinstance(repo, str):
86 if isinstance(repo, str):
87 try:
87 try:
88 return _peerlookup(repo).islocal(repo)
88 return _peerlookup(repo).islocal(repo)
General Comments 0
You need to be logged in to leave comments. Login now