revlog: drop an unused variable assignment
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 27 Dec 2019 13:56:08 -0500
changeset 43979 bdb357161d7a
parent 43978 bd88407edc0e
child 43980 3e4294aa7944
revlog: drop an unused variable assignment Caught by PyCharm. Differential Revision: https://phab.mercurial-scm.org/D7747
mercurial/revlog.py
--- 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: