[cwctl] make cubicweb-ctl versions lighter (closes #4002158)
Set config.quick_start to avoid unnecessary appobjects and schema
loading.
--- a/cwctl.py Mon Sep 23 14:55:56 2013 +0200
+++ b/cwctl.py Tue Jun 17 12:03:30 2014 +0200
@@ -835,6 +835,8 @@
config = cwcfg.config_for(appid)
# should not raise error if db versions don't match fs versions
config.repairing = True
+ # no need to load all appobjects and schema
+ config.quick_start = True
if hasattr(config, 'set_sources_mode'):
config.set_sources_mode(('migration',))
repo = config.migration_handler().repo_connect()