I'm trying to reduce use of repo[<string>] and this seems like an
obvious place to use repo.lookup().
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHGac666c5c2e0c: wireproto: use repo.lookup() for lookup command
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
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 :/