This is an archive of the discontinued Mercurial Phabricator instance.

shortest: fix an off-by-1 when disambiguating against revnums
ClosedPublic

Authored by martinvonz on Aug 29 2018, 6:56 PM.

Details

Summary

Revision "5" is an unambiguous hex prefix in a repo with 5 revisions;
it's only "4" and lower that are ambiguous.

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.

Event Timeline

martinvonz created this revision.Aug 29 2018, 6:56 PM
This revision was automatically updated to reflect the committed changes.