diff hgext/relink.py @ 42488:c0b51449bf6b

copies: avoid calling matcher if matcher.always() When storing copy information in the changesets (experimental.copies.read-from=changeset-only), this patch speeds up hg debugpathcopies FENNEC_58_0_2_BUILD1 FIREFOX_59_0b8_BUILD2 from 5.9s to 4.7s. At the start of this series (b162229e), that command took 18min. Differential Revision: https://phab.mercurial-scm.org/D6422
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 02 May 2019 23:39:33 -0700
parents c303d65d2e34
children 2372284d9457
line wrap: on
line diff