Patchwork D6352: copies: delete misplaced comment

login
register
mail settings
Submitter phabricator
Date May 7, 2019, 11:41 p.m.
Message ID <eab536dffcf46ab246fd97d0c4b9e466@localhost.localdomain>
Download mbox | patch
Permalink /patch/39981/
State Not Applicable
Headers show

Comments

phabricator - May 7, 2019, 11:41 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd1c7446d0c58: copies: delete misplaced comment (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6352?vs=15036&id=15037

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

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
@@ -796,8 +796,6 @@ 
         # metadata across the rebase anyway).
         exclude = pathcopies(repo[fromrev], repo[skiprev])
     for dst, src in pathcopies(repo[fromrev], repo[rev]).iteritems():
-        # copies.pathcopies returns backward renames, so dst might not
-        # actually be in the dirstate
         if dst in exclude:
             continue
         wctx[dst].markcopied(src)