Mercurial > hg > hg-git
view gitrepo.py @ 215:b5d4d1552765
add some annotations for test coverage
author | Abderrahim Kitouni <a.kitouni@gmail.com> |
---|---|
date | Tue, 07 Jul 2009 17:46:14 +0100 |
parents | 5986ac6a591e |
children | 0ba1aee0467c |
line wrap: on
line source
from mercurial import repo, util from git_handler import GitHandler class gitrepo(repo.repository): capabilities = [] def __init__(self, ui, path, create): if create: # pragma: no cover raise util.Abort('Cannot create a git repository.') self.path = path instance = gitrepo