D724: templater: extract shortest() logic from template function

quark (Jun Wu) phabricator at mercurial-scm.org
Sat Sep 16 22:49:39 EDT 2017


quark added a comment.


  Oops. What I originally thought was `shortest` may have alternative implementation if the changelog is not backed by revlog (in the far far future). So it feels the current implementation (using revlog's partialmatch) belongs to revlog itself.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list