Mercurial > public > mercurial-scm > hg-stable
diff mercurial/interfaces/repository.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 | 611ccb631cbc |
children | f34887316f1f |
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py Sat Dec 03 00:13:50 2022 +0100 +++ b/mercurial/interfaces/repository.py Sat Dec 03 00:16:07 2022 +0100 @@ -1612,7 +1612,7 @@ def close(): """Close the handle on this repository.""" - def peer(): + def peer(path=None): """Obtain an object conforming to the ``peer`` interface.""" def unfiltered():