statichttprepo: fix the vfs.join() method to match the base class definition
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 01 Mar 2023 13:11:51 -0500
changeset 50278 ebf1a07539b9
parent 50277 174290adfc4a
child 50279 3eacb4a54313
statichttprepo: fix the vfs.join() method to match the base class definition Flagged by PyCharm. The superclass implementation raised NotImplementedError.
mercurial/statichttprepo.py
--- a/mercurial/statichttprepo.py	Wed Mar 01 12:38:36 2023 -0500
+++ b/mercurial/statichttprepo.py	Wed Mar 01 13:11:51 2023 -0500
@@ -138,9 +138,9 @@
             f = b"/".join((self.base, urlreq.quote(path)))
             return httprangereader(f, urlopener)
 
-        def join(self, path):
+        def join(self, path, *insidef):
             if path:
-                return pathutil.join(self.base, path)
+                return pathutil.join(self.base, path, *insidef)
             else:
                 return self.base