D2024: sshpeer: make "instance" a function

2018-02-06 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb0d2885c5945: sshpeer: make instance a function (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2024?vs=5182=5241 REVISION

D2024: sshpeer: make "instance" a function

2018-02-04 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The API is that peer modules must provide an "instance" symbol that is callable to return a peer. Making "instance" a function instead of an alias to