Mercurial > kallithea
comparison rhodecode/__init__.py @ 836:28a4bb11bb6f beta
dbmigrations:
added first working upgrade script
fixed wrong versions
fixed template path
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 11 Dec 2010 03:41:27 +0100 |
parents | 8924ed0e4f36 |
children | b76da6f22e0f |
comparison
equal
deleted
inserted
replaced
835:08d2dcd71666 | 836:28a4bb11bb6f |
---|---|
27 # MA 02110-1301, USA. | 27 # MA 02110-1301, USA. |
28 | 28 |
29 | 29 |
30 VERSION = (1, 1, 0, 'beta') | 30 VERSION = (1, 1, 0, 'beta') |
31 __version__ = '.'.join((str(each) for each in VERSION[:4])) | 31 __version__ = '.'.join((str(each) for each in VERSION[:4])) |
32 __dbversion__ = 1 #defines current db version for migrations | 32 __dbversion__ = 2 #defines current db version for migrations |
33 | 33 |
34 from rhodecode.lib.utils import get_current_revision | 34 from rhodecode.lib.utils import get_current_revision |
35 _rev = get_current_revision() | 35 _rev = get_current_revision() |
36 | 36 |
37 if len(VERSION) > 3 and _rev: | 37 if len(VERSION) > 3 and _rev: |