changeset 48539:b9d5ad7146a3

git: add opener attribute to gitstore Differential Revision: https://phab.mercurial-scm.org/D11958
author Augie Fackler <augie@google.com>
date Wed, 05 Jan 2022 13:36:05 -0500
parents a3210c171b63
children 20d0d896183e
files hgext/git/__init__.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: