aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/lib/vcs/utils/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'rhodecode/lib/vcs/utils/helpers.py')
-rw-r--r--rhodecode/lib/vcs/utils/helpers.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/rhodecode/lib/vcs/utils/helpers.py b/rhodecode/lib/vcs/utils/helpers.py
index 66aadefb..6c1d50cf 100644
--- a/rhodecode/lib/vcs/utils/helpers.py
+++ b/rhodecode/lib/vcs/utils/helpers.py
@@ -96,21 +96,6 @@ def get_scms_for_path(path):
return result
-def get_repo_paths(path):
- """
- Returns path's subdirectories which seems to be a repository.
- """
- repo_paths = []
- dirnames = (os.path.abspath(dirname) for dirname in os.listdir(path))
- for dirname in dirnames:
- try:
- get_scm(dirname)
- repo_paths.append(dirname)
- except VCSError:
- pass
- return repo_paths
-
-
def run_command(cmd, *args):
"""
Runs command on the system with given ``args``.