##// END OF EJS Templates
warn when repo path is skipped because it is read-only
Mads Kiilerich -
r3607:891be8b0 beta
parent child Browse files
Show More
@@ -185,6 +185,7 b' def get_repos(path, recursive=False, ski'
185
185
186 def _get_repos(p):
186 def _get_repos(p):
187 if not os.access(p, os.W_OK):
187 if not os.access(p, os.W_OK):
188 log.warn('ignoring repo path without write access: %s', p)
188 return
189 return
189 for dirpath in os.listdir(p):
190 for dirpath in os.listdir(p):
190 if os.path.isfile(os.path.join(p, dirpath)):
191 if os.path.isfile(os.path.join(p, dirpath)):
General Comments 0
You need to be logged in to leave comments. Login now