changeset 43979: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 bd88407edc0e
children 3e4294aa7944
files mercurial/revlog.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlog.py	Fri Dec 27 13:52:39 2019 -0500
+++ b/mercurial/revlog.py	Fri Dec 27 13:56:08 2019 -0500
@@ -1772,10 +1772,8 @@
         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: