Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/revlog.py @ 43984:bdb357161d7a
revlog: drop an unused variable assignment
Caught by PyCharm.
Differential Revision: https://phab.mercurial-scm.org/D7747
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 27 Dec 2019 13:56:08 -0500 |
parents | 7c3118b9a9db |
children | 8042856c90b6 |
comparison
equal
deleted
inserted
replaced
43983:bd88407edc0e | 43984:bdb357161d7a |
---|---|
1770 | 1770 |
1771 # fast path the special `nullid` rev | 1771 # fast path the special `nullid` rev |
1772 if node == nullid: | 1772 if node == nullid: |
1773 return b"", {} | 1773 return b"", {} |
1774 | 1774 |
1775 # The text as stored inside the revlog. Might be the revision or might | 1775 # ``rawtext`` is the text as stored inside the revlog. Might be the |
1776 # need to be processed to retrieve the revision. | 1776 # revision or might need to be processed to retrieve the revision. |
1777 rawtext = None | |
1778 | |
1779 rev, rawtext, validated = self._rawtext(node, rev, _df=_df) | 1777 rev, rawtext, validated = self._rawtext(node, rev, _df=_df) |
1780 | 1778 |
1781 if raw and validated: | 1779 if raw and validated: |
1782 # if we don't want to process the raw text and that raw | 1780 # if we don't want to process the raw text and that raw |
1783 # text is cached, we can exit early. | 1781 # text is cached, we can exit early. |