Patchwork D11958: git: add opener attribute to gitstore

login
register
mail settings
Submitter phabricator
Date Jan. 5, 2022, 6:36 p.m.
Message ID <differential-rev-PHID-DREV-5yt7p57rk2oi33iafujq-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50284/
State New
Headers show

Comments

phabricator - Jan. 5, 2022, 6:36 p.m.
durin42 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  hgext/git/__init__.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/hgext/git/__init__.py b/hgext/git/__init__.py
--- a/hgext/git/__init__.py
+++ b/hgext/git/__init__.py
@@ -51,6 +51,7 @@ 
 class gitstore(object):  # store.basicstore):
     def __init__(self, path, vfstype):
         self.vfs = vfstype(path)
+        self.opener = self.vfs
         self.path = self.vfs.base
         self.createmode = store._calcmode(self.vfs)
         # above lines should go away in favor of: