##// END OF EJS Templates
Calculate file history always from latest changeset to always show full history....
Calculate file history always from latest changeset to always show full history. When doing the calculation from a particular changeset git doesn't any records from parent changesets

File last commit:

r2543:03a77098 beta
r2929:f3b913b7 beta
Show More
__init__.py
41 lines | 994 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 vcs with upstream
r2543 VERSION = (0, 3, 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',
'VCSError', 'RepositoryError', 'ChangesetError']
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]))
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))