changeset 42517:8f9cfc8d2ae1

copies: delete obsolete comment in _changesetforwardcopies() IIRC, the comment applied to the filtering we did before 35d674a3d5db (copies: don't filter out copy targets created on other side of merge commit, 2019-04-18). Differential Revision: https://phab.mercurial-scm.org/D6559
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 20 Jun 2019 10:51:23 -0700
parents ebbbf25ae266
children c7104896ec42
files mercurial/copies.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/copies.py	Mon Jun 24 14:28:21 2019 -0400
+++ b/mercurial/copies.py	Thu Jun 20 10:51:23 2019 -0700
@@ -278,8 +278,6 @@
             r, i2, copies2 = heapq.heappop(work)
             copies = {}
             allcopies = set(copies1) | set(copies2)
-            # TODO: perhaps this filtering should be done as long as ctx
-            # is merge, whether or not we're tracing from both parent.
             for dst in allcopies:
                 if not alwaysmatch and not match(dst):
                     continue