git: add opener attribute to gitstore
authorAugie Fackler <augie@google.com>
Wed, 05 Jan 2022 13:36:05 -0500
changeset 48539 b9d5ad7146a3
parent 48538 a3210c171b63
child 48540 20d0d896183e
git: add opener attribute to gitstore Differential Revision: https://phab.mercurial-scm.org/D11958
hgext/git/__init__.py
--- a/hgext/git/__init__.py	Thu Jan 06 09:55:28 2022 +0100
+++ b/hgext/git/__init__.py	Wed Jan 05 13:36:05 2022 -0500
@@ -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: