https://bz.mercurial-scm.org/show_bug.cgi?id=5561
Bug ID: 5561 Summary: at least grep and churn need to have linkrevs adjusted in evolve repos Product: Mercurial Version: 4.2 Hardware: PC OS: Linux Status: UNCONFIRMED Severity: feature Priority: wish Component: Mercurial Assignee: bugzi...@mercurial-scm.org Reporter: martinv...@google.com CC: mercurial-devel@mercurial-scm.org cmdutil.walkfilerevs() simply calls filelog.linkrev(j), which does not do linkrev adjustment to correct for hidden revisions. The result is that at least grep and churn produce bad results if a linkrev points to a hidden commit. For example: Correct result (in a fresh clone): $ hg churn -r ::4.2 mercurial/manifest.py | head -5 dur...@fb.com 1315 ************************************************************************** martinv...@google.com 1041 *********************************************************** m...@selenic.com 477 *************************** au...@google.com 428 ************************ r...@durin42.com 311 ****************** Bad result in my repo: $ hg churn -r ::4.2 mercurial/manifest.py | head -5 m...@selenic.com 477 ************************************************************************** martinv...@google.com 434 ******************************************************************* au...@google.com 372 ********************************************************** dur...@fb.com 355 ******************************************************* r...@durin42.com 311 ************************************************ -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel