D7744: perf: drop an unused variable assignment

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Fri Dec 27 16:17:58 EST 2019


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

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'),



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


More information about the Mercurial-devel mailing list