# HG changeset patch # User Mads Kiilerich # Date 2013-03-26 22:15:22 # Node ID 891be8b07407df587aaa85b8b25ba8340c787c9a # Parent c8ecfe42b2854cbb81cdd08adae177e7edcd9e70 warn when repo path is skipped because it is read-only diff --git a/rhodecode/lib/utils.py b/rhodecode/lib/utils.py --- a/rhodecode/lib/utils.py +++ b/rhodecode/lib/utils.py @@ -185,6 +185,7 @@ def get_repos(path, recursive=False, ski 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)):