Patchwork D7744: perf: drop an unused variable assignment

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

Comments

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

REVISION SUMMARY
  Caught by PyCharm.  A different formatter is created below in `_displaystats()`.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  contrib/perf.py

CHANGE DETAILS




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

Patch

diff --git a/contrib/perf.py b/contrib/perf.py
--- a/contrib/perf.py
+++ b/contrib/perf.py
@@ -2220,9 +2220,6 @@ 
 
     fm.end()
     if dostats:
-        # use a second formatter because the data are quite different, not sure
-        # how it flies with the templater.
-        fm = ui.formatter(b'perf', opts)
         entries = [
             ('nbrevs', 'number of revision covered'),
             ('nbmissingfiles', 'number of missing files at head'),