diff rhodecode/lib/db_manage.py @ 3148:b31984972e95 beta

Migration upgrades cache for lightweight dashboard Fixed some migration issues
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 05 Jan 2013 02:20:35 +0100
parents 9b92cf5a0cca
children cd50d1b5f35b 99c093d1a142
line wrap: on
line diff
--- a/rhodecode/lib/db_manage.py	Sat Jan 05 01:58:29 2013 +0100
+++ b/rhodecode/lib/db_manage.py	Sat Jan 05 02:20:35 2013 +0100
@@ -164,8 +164,8 @@
 
             def step_0(self):
                 # step 0 is the schema upgrade, and than follow proper upgrades
-                notify('attempting to do database upgrade to version %s' \
-                                % __dbversion__)
+                notify('attempting to do database upgrade from '
+                       'version %s to version %s' %(curr_version, __dbversion__))
                 api.upgrade(db_uri, repository_path, __dbversion__)
                 notify('Schema upgrade completed')