Patchwork D7747: revlog: drop an unused variable assignment

login
register
mail settings
Submitter phabricator
Date Dec. 27, 2019, 9:18 p.m.
Message ID <differential-rev-PHID-DREV-tzg3w7ow4fbikz5wla5b-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44077/
State Superseded
Headers show

Comments

phabricator - Dec. 27, 2019, 9:18 p.m.
mharbison72 created this revision.
Herald added a reviewer: indygreg.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Caught by PyCharm.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7747

AFFECTED FILES
  mercurial/revlog.py

CHANGE DETAILS




To: mharbison72, indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -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: