Patchwork D7747: revlog: drop an unused variable assignment

login
register
mail settings
Submitter phabricator
Date Dec. 27, 2019, 10:03 p.m.
Message ID <9d895b1c453cbab7b7595b02d3c6b64a@localhost.localdomain>
Download mbox | patch
Permalink /patch/44092/
State Not Applicable
Headers show

Comments

phabricator - Dec. 27, 2019, 10:03 p.m.
Closed by commit rHGbdb357161d7a: revlog: drop an unused variable assignment (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7747?vs=18963&id=18978

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7747/new/

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: