D6352: copies: delete misplaced comment

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue May 7 19:41:03 EDT 2019


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

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)



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


More information about the Mercurial-devel mailing list