localrepo: don't allow lookup of working directory revision
ClosedPublic

Authored by martinvonz on Fri, Apr 5, 2:34 PM.

Details

Summary

It seems that repo.lookup(), which is what supports the "lookup" wire
protocol command, should not allow the working copy revision
input.

This fixes both the pull test and the convert test I just added.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
martinvonz created this revision.Fri, Apr 5, 2:34 PM
martinvonz updated this revision to Diff 14688.Fri, Apr 5, 3:21 PM
This revision was automatically updated to reflect the committed changes.