Changeset - 1450ceb36aa6
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-11-18 00:13:44
marcin@python-works.com
enabled largefiles extension by default in rhodecode
1 file changed with 7 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/db_manage.py
Show inline comments
 
@@ -289,18 +289,24 @@ class DbManage(object):
 

	
 
        hooks4 = RhodeCodeUi()
 
        hooks4.ui_section = 'hooks'
 
        hooks4.ui_key = RhodeCodeUi.HOOK_PULL
 
        hooks4.ui_value = 'python:rhodecode.lib.hooks.log_pull_action'
 

	
 
        #For mercurial 1.7 set backward comapatibility with format
 
        # For mercurial 1.7 set backward comapatibility with format
 
        dotencode_disable = RhodeCodeUi()
 
        dotencode_disable.ui_section = 'format'
 
        dotencode_disable.ui_key = 'dotencode'
 
        dotencode_disable.ui_value = 'false'
 

	
 
        # enable largefiles
 
        dotencode_disable = RhodeCodeUi()
 
        dotencode_disable.ui_section = 'extensions'
 
        dotencode_disable.ui_key = 'largefiles'
 
        dotencode_disable.ui_value = '1'
 

	
 
        try:
 
            self.sa.add(hooks1)
 
            self.sa.add(hooks2)
 
            self.sa.add(hooks3)
 
            self.sa.add(hooks4)
 
            self.sa.add(dotencode_disable)
0 comments (0 inline, 0 general)