( )⚙ D4420 shortest: fix an off-by-1 when disambiguating against revnums

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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

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