Patchwork D7266: vfs: add NotImplementedError version of join

login
register
mail settings
Submitter phabricator
Date Nov. 6, 2019, 10:57 p.m.
Message ID <differential-rev-PHID-DREV-p54pcbwwwwockecfgj76-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42819/
State Superseded
Headers show

Comments

phabricator - Nov. 6, 2019, 10:57 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Again, this helps out pytype.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/vfs.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel
phabricator - Nov. 7, 2019, 11:22 a.m.
martinvonz added a comment.


  I guess you meant s/NotImplementedError/abstractvfs/ in the commit message of this patch (and maybe on the parent patch as well)

REPOSITORY
  rHG Mercurial

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

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

To: durin42, #hg-reviewers, indygreg
Cc: martinvonz, mercurial-devel

Patch

diff --git a/mercurial/vfs.py b/mercurial/vfs.py
--- a/mercurial/vfs.py
+++ b/mercurial/vfs.py
@@ -60,6 +60,9 @@ 
     def _auditpath(self, path, mode):
         raise NotImplementedError
 
+    def join(self, path, *insidef):
+        raise NotImplementedError
+
     def tryread(self, path):
         '''gracefully return an empty string for missing files'''
         try: