# HG changeset patch # User Marcin Kuzminski # Date 2011-11-17 23:13:44 # Node ID 1450ceb36aa62a6e59dd23103b455a108892e55b # Parent 60249224be044165b9947d52fe01c17cf88b2e55 enabled largefiles extension by default in rhodecode diff --git a/rhodecode/lib/db_manage.py b/rhodecode/lib/db_manage.py --- a/rhodecode/lib/db_manage.py +++ b/rhodecode/lib/db_manage.py @@ -292,12 +292,18 @@ class DbManage(object): 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)