copies: delete obsolete comment in _changesetforwardcopies()
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 20 Jun 2019 10:51:23 -0700
changeset 42517 8f9cfc8d2ae1
parent 42516 ebbbf25ae266
child 42518 c7104896ec42
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
mercurial/copies.py
--- 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