Skip to content
Snippets Groups Projects
Commit 32456f9c authored by Augie Fackler's avatar Augie Fackler
Browse files

hggit: don't wrap gitrepo with hgrepo

parent 6fcd798e
No related branches found
No related tags found
No related merge requests found
......@@ -56,8 +56,9 @@
hg.defaultdest = defaultdest
def reposetup(ui, repo):
klass = hgrepo.generate_repo_subclass(repo.__class__)
repo.__class__ = klass
if not isinstance(repo, gitrepo.gitrepo):
klass = hgrepo.generate_repo_subclass(repo.__class__)
repo.__class__ = klass
def gimport(ui, repo, remote_name=None):
git = GitHandler(repo, ui)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment