changeset 50378:ebf1a07539b9

statichttprepo: fix the vfs.join() method to match the base class definition Flagged by PyCharm. The superclass implementation raised NotImplementedError.
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 01 Mar 2023 13:11:51 -0500
parents 174290adfc4a
children 3eacb4a54313
files mercurial/statichttprepo.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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