# HG changeset patch # User Matt Harbison # Date 2023-03-01 18:11:51 # Node ID ebf1a07539b9ab5a206c890a1f4775b1c06d46d6 # Parent 174290adfc4a71f3e31365c138e2266c6d4652a9 statichttprepo: fix the vfs.join() method to match the base class definition Flagged by PyCharm. The superclass implementation raised NotImplementedError. diff --git a/mercurial/statichttprepo.py b/mercurial/statichttprepo.py --- a/mercurial/statichttprepo.py +++ b/mercurial/statichttprepo.py @@ -138,9 +138,9 @@ def build_opener(ui, authinfo): 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