sapling/gitrepo.py
2009-06-03 21:15:43 +01:00

11 lines
271 B
Python

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