This is an archive of the discontinued Mercurial Phabricator instance.

scmutil: rename resolvepartialhexnodeid() to resolvehexnodeidprefix()
ClosedPublic

Authored by martinvonz on Apr 13 2018, 1:59 PM.

Details

Summary

I'm going to wrap revlog.shortest() in scmutil. I plan on calling it
shortesthexnodeidprefix(). resolvehexnodeidprefix() matches that
better. Also, "prefix" carries more information than "partial".

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Apr 13 2018, 1:59 PM
martinvonz edited the summary of this revision. (Show Details)Apr 14 2018, 2:16 AM
martinvonz updated this revision to Diff 8247.
martinvonz updated this revision to Diff 8252.Apr 14 2018, 3:20 AM
This revision was automatically updated to reflect the committed changes.
martinvonz updated this revision to Diff 8283.Apr 14 2018, 12:16 PM