Files
@ 7e5f8c12a3fc
Branch filter:
Location: kallithea/rhodecode/lib/vcs/__init__.py - annotation
7e5f8c12a3fc
996 B
text/x-python
First step in two-part process to rename directories to kallithea.
This first step is to change all references in the files where they refer
to the old directory name.
This first step is to change all references in the files where they refer
to the old directory name.
324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da a5c234e934c5 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da d7488551578e d7488551578e 324ac367a4da 324ac367a4da 7e5f8c12a3fc 7e5f8c12a3fc 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da d7488551578e 324ac367a4da 324ac367a4da 324ac367a4da 7e5f8c12a3fc 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da 324ac367a4da | # -*- 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.
"""
VERSION = (0, 5, 0, 'dev')
__version__ = '.'.join((str(each) for each in VERSION[:4]))
__all__ = [
'get_version', 'get_repo', 'get_backend',
'VCSError', 'RepositoryError', 'ChangesetError'
]
import sys
from kallithea.lib.vcs.backends import get_repo, get_backend
from kallithea.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]))
def main(argv=None):
if argv is None:
argv = sys.argv
from kallithea.lib.vcs.cli import ExecutionManager
manager = ExecutionManager(argv)
manager.execute()
return 0
if __name__ == '__main__':
sys.exit(main(sys.argv))
|