D6559: copies: delete obsolete comment in _changesetforwardcopies()

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Mon Jun 24 14:59:54 EDT 2019


Closed by commit rHG8f9cfc8d2ae1: copies: delete obsolete comment in _changesetforwardcopies() (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6559?vs=15623&id=15649

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

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

AFFECTED FILES
  mercurial/copies.py

CHANGE DETAILS

diff --git a/mercurial/copies.py b/mercurial/copies.py
--- a/mercurial/copies.py
+++ b/mercurial/copies.py
@@ -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



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


More information about the Mercurial-devel mailing list