# HG changeset patch # User Marcin Kuzminski # Date 1321571624 -7200 # Node ID 1450ceb36aa62a6e59dd23103b455a108892e55b # Parent 60249224be044165b9947d52fe01c17cf88b2e55 enabled largefiles extension by default in rhodecode diff -r 60249224be04 -r 1450ceb36aa6 rhodecode/lib/db_manage.py --- a/rhodecode/lib/db_manage.py Thu Nov 17 18:52:48 2011 +0200 +++ b/rhodecode/lib/db_manage.py Fri Nov 18 01:13:44 2011 +0200 @@ -292,12 +292,18 @@ 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)