Mercurial > evolve
changeset 6339:b4df25613811 stable
topic: compatibility for path argument for peer
There's an entire series in core now, but for an example patch see 2d11a98db799
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 09 Dec 2022 15:32:57 +0400 |
parents | a55b9b917a08 |
children | ba2f6764016b |
files | hgext3rd/topic/__init__.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py Thu Dec 01 17:09:47 2022 +0400 +++ b/hgext3rd/topic/__init__.py Fri Dec 09 15:32:57 2022 +0400 @@ -550,8 +550,8 @@ super(topicrepo, self).invalidatevolatilesets() self._topics = None - def peer(self): - peer = super(topicrepo, self).peer() + def peer(self, *args, **kwargs): + peer = super(topicrepo, self).peer(*args, **kwargs) if getattr(peer, '_repo', None) is not None: # localpeer class topicpeer(peer.__class__): def branchmap(self):