Mercurial > kallithea
comparison rhodecode/lib/db_manage.py @ 1694:1450ceb36aa6 beta
enabled largefiles extension by default in rhodecode
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 18 Nov 2011 01:13:44 +0200 |
parents | 1d904d972c47 |
children | 7d1fc253549e |
comparison
equal
deleted
inserted
replaced
1693:60249224be04 | 1694:1450ceb36aa6 |
---|---|
290 hooks4 = RhodeCodeUi() | 290 hooks4 = RhodeCodeUi() |
291 hooks4.ui_section = 'hooks' | 291 hooks4.ui_section = 'hooks' |
292 hooks4.ui_key = RhodeCodeUi.HOOK_PULL | 292 hooks4.ui_key = RhodeCodeUi.HOOK_PULL |
293 hooks4.ui_value = 'python:rhodecode.lib.hooks.log_pull_action' | 293 hooks4.ui_value = 'python:rhodecode.lib.hooks.log_pull_action' |
294 | 294 |
295 #For mercurial 1.7 set backward comapatibility with format | 295 # For mercurial 1.7 set backward comapatibility with format |
296 dotencode_disable = RhodeCodeUi() | 296 dotencode_disable = RhodeCodeUi() |
297 dotencode_disable.ui_section = 'format' | 297 dotencode_disable.ui_section = 'format' |
298 dotencode_disable.ui_key = 'dotencode' | 298 dotencode_disable.ui_key = 'dotencode' |
299 dotencode_disable.ui_value = 'false' | 299 dotencode_disable.ui_value = 'false' |
300 | |
301 # enable largefiles | |
302 dotencode_disable = RhodeCodeUi() | |
303 dotencode_disable.ui_section = 'extensions' | |
304 dotencode_disable.ui_key = 'largefiles' | |
305 dotencode_disable.ui_value = '1' | |
300 | 306 |
301 try: | 307 try: |
302 self.sa.add(hooks1) | 308 self.sa.add(hooks1) |
303 self.sa.add(hooks2) | 309 self.sa.add(hooks2) |
304 self.sa.add(hooks3) | 310 self.sa.add(hooks3) |