[Updated] D11958: git: add opener attribute to gitstore

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Jan 6 09:36:05 UTC 2022


Closed by commit rHGb9d5ad7146a3: git: add opener attribute to gitstore (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11958?vs=31597&id=31598

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

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

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
@@ -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:



To: durin42, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220106/fa86e0d5/attachment-0002.html>


More information about the Mercurial-patches mailing list