aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMads Kiilerich <madski@unity3d.com>2012-12-12 18:13:31 +0100
committerMads Kiilerich <madski@unity3d.com>2012-12-12 18:13:31 +0100
commitb6edf6931c7c190273e33ae56269c066929fb14a (patch)
treeeaa5b6ede5838bd9cbe0fcbf91d4261b5702566d
parentcdb351abf014ec851f564c56f72e3639063a34b0 (diff)
remove unused function get_repo_paths
It should probably handle removed repositories somehow if it should live on. --HG-- branch : beta extra : source : bcfed1035796679d210fc8b07158c198b3e0e98a
-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``.