diff -r 65b39c556c6d -r c71f80bfb414 mercurial/changegroup.py --- a/mercurial/changegroup.py Thu Sep 20 18:36:33 2018 +0300 +++ b/mercurial/changegroup.py Wed Sep 19 23:36:16 2018 -0400 @@ -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: