D7071: copies: use unchecked parentrevs function to access parent

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Oct 15 01:12:24 EDT 2019


martinvonz added inline comments.

INLINE COMMENTS

> copies.py:293
>  
>      repo = a.repo()
>      children = {}

Why not just add `.unfiltered()` here? That should be even faster (3.16s -> 2.90s compared to this patch for the case I tested).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7071/new/

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

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


More information about the Mercurial-devel mailing list