Mercurial > kallithea
diff development.ini @ 3522:7174ee850baa beta
configurable locking codes.
- this allows changing the default 423 LOCKED code to 2XX codes which don't break the transactions. Insted
it gives users a warning for push.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 10 Mar 2013 22:53:25 +0100 |
parents | c0ac34b8eb07 |
children | 58dcef7eef03 |
line wrap: on
line diff
--- a/development.ini Sun Mar 10 21:24:11 2013 +0100 +++ b/development.ini Sun Mar 10 22:53:25 2013 +0100 @@ -156,6 +156,11 @@ ## handling that. Set this variable to 403 to return HTTPForbidden auth_ret_code = +## locking return code. When repository is locked return this HTTP code. 2XX +## codes don't break the transactions while 4XX codes do +lock_ret_code = 423 + + #################################### ### CELERY CONFIG #### ####################################