Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG5b5e62c24b2e: changegroup: suppress pytype error that's wrong
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
indygreg |
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/changegroup.py (4 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
b1f0c26247e3 | 0047389d1c56 | Augie Fackler | Nov 6 2019, 5:25 PM |
Status | Author | Revision | |
---|---|---|---|
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Abandoned | durin42 | ||
Changes Planned | mharbison72 | ||
Needs Revision | durin42 | ||
Needs Revision | durin42 | ||
Changes Planned | durin42 | ||
Abandoned | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 |
tmfnodes = {b'': manifests} | tmfnodes = {b'': manifests} | ||||
# Callback for the manifest, used to collect linkrevs for filelog | # Callback for the manifest, used to collect linkrevs for filelog | ||||
# revisions. | # revisions. | ||||
# Returns the linkrev node (collected in lookupcl). | # Returns the linkrev node (collected in lookupcl). | ||||
def makelookupmflinknode(tree, nodes): | def makelookupmflinknode(tree, nodes): | ||||
if fastpathlinkrev: | if fastpathlinkrev: | ||||
assert not tree | assert not tree | ||||
return manifests.__getitem__ | return ( | ||||
manifests.__getitem__ # pytype: disable=unsupported-operands | |||||
) | |||||
def lookupmflinknode(x): | def lookupmflinknode(x): | ||||
"""Callback for looking up the linknode for manifests. | """Callback for looking up the linknode for manifests. | ||||
Returns the linkrev node for the specified manifest. | Returns the linkrev node for the specified manifest. | ||||
SIDE EFFECT: | SIDE EFFECT: | ||||