mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
11 lines
271 B
Python
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
|