Caught by PyCharm.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHGbdb357161d7a: revlog: drop an unused variable assignment
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
indygreg |
hg-reviewers |
Caught by PyCharm.
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/revlog.py (6 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
a754f22c38d7 | 491b8d42f6db | Matt Harbison | Dec 27 2019, 1:56 PM |
Status | Author | Revision | |
---|---|---|---|
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 |
else: | else: | ||||
node = nodeorrev | node = nodeorrev | ||||
rev = None | rev = None | ||||
# fast path the special `nullid` rev | # fast path the special `nullid` rev | ||||
if node == nullid: | if node == nullid: | ||||
return b"", {} | return b"", {} | ||||
# The text as stored inside the revlog. Might be the revision or might | # ``rawtext`` is the text as stored inside the revlog. Might be the | ||||
# need to be processed to retrieve the revision. | # revision or might need to be processed to retrieve the revision. | ||||
rawtext = None | |||||
rev, rawtext, validated = self._rawtext(node, rev, _df=_df) | rev, rawtext, validated = self._rawtext(node, rev, _df=_df) | ||||
if raw and validated: | if raw and validated: | ||||
# if we don't want to process the raw text and that raw | # if we don't want to process the raw text and that raw | ||||
# text is cached, we can exit early. | # text is cached, we can exit early. | ||||
return rawtext, {} | return rawtext, {} | ||||
if rev is None: | if rev is None: | ||||
rev = self.rev(node) | rev = self.rev(node) |