Mercurial > evolve
diff hgext3rd/topic/__init__.py @ 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 | b4f9b7e468ee |
children | 569e09c61c4f |
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):