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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rhodecode/lib/vcs/utils/helpers.py b/rhodecode/lib/vcs/utils/helpers.py
index 6c1d50cf..20b1bf1b 100644
--- a/rhodecode/lib/vcs/utils/helpers.py
+++ b/rhodecode/lib/vcs/utils/helpers.py
@@ -80,7 +80,7 @@ def get_scms_for_path(path):
continue
dirname = os.path.join(path, 'rm__.' + key)
if os.path.isdir(dirname):
- return [None]
+ return result
# We still need to check if it's not bare repository as
# bare repos don't have working directories
try:
@@ -131,6 +131,7 @@ def get_highlighted_code(name, code, type='terminal'):
content = code
return content
+
def parse_changesets(text):
"""
Returns dictionary with *start*, *main* and *end* ids.