Closed by commit rHGa2b49606a837: hgit: make sure repository is local before 
checking for store type (authored by pulkit).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs 
Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8217?vs=20493&id=20736

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8217/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8217

AFFECTED FILES
  hgext/git/__init__.py

CHANGE DETAILS

diff --git a/hgext/git/__init__.py b/hgext/git/__init__.py
--- a/hgext/git/__init__.py
+++ b/hgext/git/__init__.py
@@ -230,7 +230,7 @@
 
 
 def reposetup(ui, repo):
-    if isinstance(repo.store, gitstore):
+    if repo.local() and isinstance(repo.store, gitstore):
         orig = repo.__class__
         repo.store._progress_factory = repo.ui.makeprogress
 



To: pulkit, #hg-reviewers, durin42, mharbison72
Cc: durin42, mharbison72, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to