Merge 3.26
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Fri, 18 Oct 2019 23:39:03 +0200
changeset 12749 ff63319a1730
parent 12746 5c432a7fc442 (current diff)
parent 12748 9fa65579520f (diff)
child 12750 74b473f288d5
Merge 3.26
cubicweb/cwctl.py
cubicweb/server/repository.py
--- a/cubicweb/cwctl.py	Thu May 23 00:33:04 2019 +0200
+++ b/cubicweb/cwctl.py	Fri Oct 18 23:39:03 2019 +0200
@@ -47,7 +47,7 @@
 from cubicweb.__pkginfo__ import version as cw_version
 
 LOG_LEVELS = ('debug', 'info', 'warning', 'error')
-DBG_FLAGS = ('RQL', 'SQL', 'REPO', 'HOOKS', 'OPS', 'SEC', 'MORE')
+DBG_FLAGS = ('RQL', 'SQL', 'REPO', 'HOOKS', 'OPS', 'SEC', 'MORE', 'ALL')
 
 # don't check duplicated commands, it occurs when reloading site_cubicweb
 CWCTL = CommandLine('cubicweb-ctl', 'The CubicWeb swiss-knife.',
--- a/cubicweb/server/repository.py	Thu May 23 00:33:04 2019 +0200
+++ b/cubicweb/server/repository.py	Fri Oct 18 23:39:03 2019 +0200
@@ -557,8 +557,8 @@
                         fsversion = self.config.cubicweb_version()
                     if version < fsversion:
                         msg = ('instance has %s version %s but %s '
-                               'is installed. Run "cubicweb-ctl upgrade".')
-                        raise ExecutionError(msg % (cube, version, fsversion))
+                               'is installed. Run "cubicweb-ctl upgrade %s".')
+                        raise ExecutionError(msg % (cube, version, fsversion, self.config.appid))
         return vcconf
 
     @cached