D4684: changegroup: remove outdated comment

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Sep 20 15:44:50 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc71f80bfb414: changegroup: remove outdated comment (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4684?vs=11224&id=11235

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

AFFECTED FILES
  mercurial/changegroup.py

CHANGE DETAILS

diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -1120,9 +1120,6 @@
             commonctxs = [self._repo[c] for c in commonrevs]
             clrev = self._repo.changelog.rev
 
-            # Defining this function has a side-effect of overriding the
-            # function of the same name that was passed in as an argument.
-            # TODO have caller pass in appropriate function.
             def linknodes(flog, fname):
                 for c in commonctxs:
                     try:



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


More information about the Mercurial-devel mailing list