D3081: wireproto: use repo.lookup() for lookup command

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Wed Apr 4 20:46:58 EDT 2018


indygreg accepted this revision.
indygreg added a comment.
This revision is now accepted and ready to land.


  The fact that this wasn't using `lookup()` is mind numbing. What the wire protocol command handlers should be doing in many cases is calling `repo.peer().<command>()`. Now you can see how bad the wire protocol code is :/

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3081

To: martinvonz, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel


More information about the Mercurial-devel mailing list