##// END OF EJS Templates
Translation updates from RhodeCode v2.2.5...
Translation updates from RhodeCode v2.2.5 Includes a new German translation. These are licensed under GPLv3, for various reasons, including since they include textual copies of strings from the GPLv3'd Python and HTML files.

File last commit:

r3805:a5c234e9 beta
r4137:6c485794 rhodecode-2.2.5-gpl
Show More
__init__.py
43 lines | 996 B | text/x-python | PythonLexer
Added VCS into rhodecode core for faster and easier deployments of new versions
r2007 # -*- coding: utf-8 -*-
"""
vcs
~~~
Various version Control System (vcs) management abstraction layer for
Python.
:created_on: Apr 8, 2010
:copyright: (c) 2010-2011 by Marcin Kuzminski, Lukasz Balcerzak.
"""
synced with latest vcs
r3805 VERSION = (0, 5, 0, 'dev')
Added VCS into rhodecode core for faster and easier deployments of new versions
r2007
__version__ = '.'.join((str(each) for each in VERSION[:4]))
__all__ = [
'get_version', 'get_repo', 'get_backend',
synced vcs with upstream...
r3797 'VCSError', 'RepositoryError', 'ChangesetError'
]
Added VCS into rhodecode core for faster and easier deployments of new versions
r2007
import sys
from rhodecode.lib.vcs.backends import get_repo, get_backend
from rhodecode.lib.vcs.exceptions import VCSError, RepositoryError, ChangesetError
def get_version():
"""
Returns shorter version (digit parts only) as string.
"""
return '.'.join((str(each) for each in VERSION[:3]))
synced vcs with upstream...
r3797
Added VCS into rhodecode core for faster and easier deployments of new versions
r2007 def main(argv=None):
if argv is None:
argv = sys.argv
from rhodecode.lib.vcs.cli import ExecutionManager
manager = ExecutionManager(argv)
manager.execute()
return 0
if __name__ == '__main__':
sys.exit(main(sys.argv))