yuja added inline comments. INLINE COMMENTS
> martinvonz wrote in templatekw.py:222 > > This should be enabled only if ptags[0][2] != ptags[1][2]. > > Good point. Done. > > > The latesttagdistance is documented to return the longest path to the > > latest tag. > > I'm not changing latesttagdistance (AFAIK), only the definition of latesttag. > > > https://phab.mercurial-scm.org/rHGf04d179124410d491a8def230e408c3b6c98cbfc > > Luckily, that's just the commit message and "hg help templates.latesttag" > just says "The global tags on the most recent globally tagged ancestor of > this changeset" and doesn't define what "most recent" is. > I'm not changing latesttagdistance (AFAIK), only the definition of latesttag. Try `ptags = reversed(...)` and run tests. The largest `pdist` should be selected so that `latesttagdistance` returns the longest path. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D447 To: martinvonz, #hg-reviewers, yuja Cc: yuja, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel