Mercurial > kallithea
changeset 1128:62a1d4155f6b beta
let action always return pull command for better security on pull restricted repos
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 13 Mar 2011 01:22:29 +0100 |
parents | a31b0bf8c9a7 |
children | fe7fa9942015 |
files | rhodecode/lib/middleware/simplehg.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/middleware/simplehg.py Sat Mar 12 22:35:08 2011 +0100 +++ b/rhodecode/lib/middleware/simplehg.py Sun Mar 13 01:22:29 2011 +0100 @@ -241,7 +241,7 @@ if mapping.has_key(cmd): return mapping[cmd] else: - return cmd + return 'pull' def __invalidate_cache(self, repo_name): """we know that some change was made to repositories and we should