copies: remove a redundant matcher filtering in _changesetforwardcopies()
We filter before pushing items on the queue, so we don't need to
filter after popping.
Differential Revision: https://phab.mercurial-scm.org/D6560
--- a/mercurial/copies.py Thu Jun 20 10:51:23 2019 -0700
+++ b/mercurial/copies.py Thu Jun 20 10:42:16 2019 -0700
@@ -279,8 +279,6 @@
copies = {}
allcopies = set(copies1) | set(copies2)
for dst in allcopies:
- if not alwaysmatch and not match(dst):
- continue
# Unlike when copies are stored in the filelog, we consider
# it a copy even if the destination already existed on the
# other branch. It's simply too expensive to check if the