# HG changeset patch # User Matt Harbison # Date 2019-12-27 18:56:08 # Node ID bdb357161d7a388ab616fd67ed083a601582dc99 # Parent bd88407edc0e1c15333edbf85215cdfad0ab44c6 revlog: drop an unused variable assignment Caught by PyCharm. Differential Revision: https://phab.mercurial-scm.org/D7747 diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -1772,10 +1772,8 @@ class revlog(object): if node == nullid: return b"", {} - # The text as stored inside the revlog. Might be the revision or might - # need to be processed to retrieve the revision. - rawtext = None - + # ``rawtext`` is the text as stored inside the revlog. Might be the + # revision or might need to be processed to retrieve the revision. rev, rawtext, validated = self._rawtext(node, rev, _df=_df) if raw and validated: