Mercurial > public > mercurial-scm > hg-stable
diff mercurial/unionrepo.py @ 49865: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 | 642e31cb55f0 |
children | 90f047edab4f |
line wrap: on
line diff
--- a/mercurial/unionrepo.py Sat Dec 03 00:13:50 2022 +0100 +++ b/mercurial/unionrepo.py Sat Dec 03 00:16:07 2022 +0100 @@ -257,8 +257,8 @@ def cancopy(self): return False - def peer(self): - return unionpeer(self) + def peer(self, path=None): + return unionpeer(self, path=None) def getcwd(self): return encoding.getcwd() # always outside the repo