Mercurial > kallithea
comparison rhodecode/__init__.py @ 1228:73434499fa72
merges for stable
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 09 Apr 2011 11:22:32 +0200 |
parents | 45fed9a435b7 |
children | bf263968da47 |
comparison
equal
deleted
inserted
replaced
1227:2182a2005278 | 1228:73434499fa72 |
---|---|
29 __version__ = '.'.join((str(each) for each in VERSION[:4])) | 29 __version__ = '.'.join((str(each) for each in VERSION[:4])) |
30 __dbversion__ = 2 # defines current db version for migrations | 30 __dbversion__ = 2 # defines current db version for migrations |
31 __platform__ = platform.system() | 31 __platform__ = platform.system() |
32 __license__ = 'GPLv3' | 32 __license__ = 'GPLv3' |
33 | 33 |
34 PLATFORM_WIN = ('Windows',) | 34 PLATFORM_WIN = ('Windows') |
35 PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD',) | 35 PLATFORM_OTHERS = ('Linux', 'Darwin', 'FreeBSD', 'OpenBSD') |
36 | 36 |
37 try: | 37 try: |
38 from rhodecode.lib.utils import get_current_revision | 38 from rhodecode.lib.utils import get_current_revision |
39 _rev = get_current_revision() | 39 _rev = get_current_revision() |
40 except ImportError: | 40 except ImportError: |
50 | 50 |
51 return '.'.join((str(each) for each in VERSION[:3])) | 51 return '.'.join((str(each) for each in VERSION[:3])) |
52 | 52 |
53 BACKENDS = { | 53 BACKENDS = { |
54 'hg': 'Mercurial repository', | 54 'hg': 'Mercurial repository', |
55 #'git': 'Git repository', | 55 #'git': 'Git repository', |
56 } | 56 } |