This revision was automatically updated to reflect the committed changes. Closed by commit rHGf15a587d2dfc: wireprotov1peer: forward __name__ of wrapped method in batchable decorator (authored by durin42, committed by ).
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4551?vs=10979&id=10980 REVISION DETAIL https://phab.mercurial-scm.org/D4551 AFFECTED FILES mercurial/wireprotov1peer.py CHANGE DETAILS diff --git a/mercurial/wireprotov1peer.py b/mercurial/wireprotov1peer.py --- a/mercurial/wireprotov1peer.py +++ b/mercurial/wireprotov1peer.py @@ -64,6 +64,7 @@ encresref.set(self._submitone(cmd, encargsorres)) return next(batchable) setattr(plain, 'batchable', f) + setattr(plain, '__name__', f.__name__) return plain class future(object): To: durin42, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel