Patchwork D6559: copies: delete obsolete comment in _changesetforwardcopies()

login
register
mail settings
Submitter phabricator
Date June 24, 2019, 6:59 p.m.
Message ID <8e47fe1eb1fbee17136470e9a4296e9c@localhost.localdomain>
Download mbox | patch
Permalink /patch/40666/
State Not Applicable
Headers show

Comments

phabricator - June 24, 2019, 6:59 p.m.
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




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

Patch

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