Mercurial > hg > hg-git
view gitrepo.py @ 179:c5c63783ace0
Initial clone/pull/push support for git repositories
author | Abderrahim Kitouni <a.kitouni@gmail.com> |
---|---|
date | Wed, 03 Jun 2009 21:15:43 +0100 |
parents | 65c961d0d232 |
children | 5986ac6a591e |
line wrap: on
line source
from mercurial import repo, util from git_handler import GitHandler class gitrepo(repo.repository): def __init__(self, ui, path, create): if create: raise util.Abort('Cannot create a git repository.') self.path = path instance = gitrepo