changeset 3607:891be8b07407 beta

warn when repo path is skipped because it is read-only
author Mads Kiilerich <madski@unity3d.com>
date Tue, 26 Mar 2013 23:15:22 +0100
parents c8ecfe42b285
children 87b0a652b6b1
files rhodecode/lib/utils.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/utils.py	Tue Mar 26 23:15:16 2013 +0100
+++ b/rhodecode/lib/utils.py	Tue Mar 26 23:15:22 2013 +0100
@@ -185,6 +185,7 @@
 
     def _get_repos(p):
         if not os.access(p, os.W_OK):
+            log.warn('ignoring repo path without write access: %s', p)
             return
         for dirpath in os.listdir(p):
             if os.path.isfile(os.path.join(p, dirpath)):