Mercurial > hg
comparison mercurial/changegroup.py @ 39731:c71f80bfb414
changegroup: remove outdated comment
Differential Revision: https://phab.mercurial-scm.org/D4684
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 19 Sep 2018 23:36:16 -0400 |
parents | a1942015c10e |
children | e03c1a63155c |
comparison
equal
deleted
inserted
replaced
39730:65b39c556c6d | 39731:c71f80bfb414 |
---|---|
1118 # those file nodes that are in the manifests we sent but weren't | 1118 # those file nodes that are in the manifests we sent but weren't |
1119 # introduced by those manifests. | 1119 # introduced by those manifests. |
1120 commonctxs = [self._repo[c] for c in commonrevs] | 1120 commonctxs = [self._repo[c] for c in commonrevs] |
1121 clrev = self._repo.changelog.rev | 1121 clrev = self._repo.changelog.rev |
1122 | 1122 |
1123 # Defining this function has a side-effect of overriding the | |
1124 # function of the same name that was passed in as an argument. | |
1125 # TODO have caller pass in appropriate function. | |
1126 def linknodes(flog, fname): | 1123 def linknodes(flog, fname): |
1127 for c in commonctxs: | 1124 for c in commonctxs: |
1128 try: | 1125 try: |
1129 fnode = c.filenode(fname) | 1126 fnode = c.filenode(fname) |
1130 clrevtolocalrev[c.rev()] = flog.rev(fnode) | 1127 clrevtolocalrev[c.rev()] = flog.rev(fnode) |