D3312: revlog: move shortest() to scmutil.shortesthexnodeidprefix() (API)

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Fri Apr 13 14:24:40 EDT 2018


indygreg added a comment.


  I haven't looked at the patch yet, but I also wrote something like this as part of storage refactors. IMO the shortest node logic has no business being on the generic revlog implementation. I never submitted that patch since removing filelog's inheritance of revlog worked around the problem for me.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3312

To: martinvonz, indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list