# HG changeset patch # User Marcin Kuzminski # Date 2016-11-17 17:48:31 # Node ID ee691b6fd8651c0e3387343ed3f33b4090ac6876 # Parent c43085bc8aeb95e9ccce5b6c2d87b54be69381ac simplevcs: fix a typo when running detection of vcs backend. - the flag should be explicit_scm which skips detection of VCS systems. This improves the speed of calls by not trying to look for a valid vcs. diff --git a/rhodecode/lib/middleware/simplevcs.py b/rhodecode/lib/middleware/simplevcs.py --- a/rhodecode/lib/middleware/simplevcs.py +++ b/rhodecode/lib/middleware/simplevcs.py @@ -222,7 +222,7 @@ class SimpleVCS(object): repo_name, db_repo.repo_type, scm_type) return False - return is_valid_repo(repo_name, base_path, expect_scm=scm_type) + return is_valid_repo(repo_name, base_path, explicit_scm=scm_type) def valid_and_active_user(self, user): """