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

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Sep 15 23:38:01 UTC 2017


martinvonz added a comment.


  In https://phab.mercurial-scm.org/D724#12091, @quark wrote:
  
  > It might make sense to be a revlog method if we don't really care about the "cleanness" of revlog class. I slightly prefer that.
  
  
  Heh, that's what I decided to do. I apparently forgot to send it after tests had run, but now it's there. PTAL.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list