##// END OF EJS Templates
Reimplemented way of caching repos list, hg model now get's repos objects right from cached dict, this way we skipp creating instances of MercurialRepository and gain performance. Some import cleanup
Reimplemented way of caching repos list, hg model now get's repos objects right from cached dict, this way we skipp creating instances of MercurialRepository and gain performance. Some import cleanup

File last commit:

r225:710e7a75 rhodecode-0.0.0.7.5 default
r245:a83a1799 default
Show More
__init__.py
13 lines | 316 B | text/x-python | PythonLexer
"""
Hg app, a web based mercurial repository managment based on pylons
"""
VERSION = (0, 7, 5, 'beta')
__version__ = '.'.join((str(each) for each in VERSION[:4]))
def get_version():
"""
Returns shorter version (digit parts only) as string.
"""
return '.'.join((str(each) for each in VERSION[:3]))