diff mercurial/statichttprepo.py @ 49753:ff7134e03629

peer: have `repo.peer` take an optional `path` argument We are ready to start to actually set the value now.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 03 Dec 2022 00:16:07 +0100
parents f075a9463ee7
children 5f71fff8dc74
line wrap: on
line diff
--- a/mercurial/statichttprepo.py	Sat Dec 03 00:13:50 2022 +0100
+++ b/mercurial/statichttprepo.py	Sat Dec 03 00:16:07 2022 +0100
@@ -236,8 +236,8 @@
     def local(self):
         return False
 
-    def peer(self):
-        return statichttppeer(self)
+    def peer(self, path=None):
+        return statichttppeer(self, path=path)
 
     def wlock(self, wait=True):
         raise error.LockUnavailable(