Patchwork D1689: statprof: remove a line of deadcode

login
register
mail settings
Submitter phabricator
Date Dec. 14, 2017, 8:54 p.m.
Message ID <789b19a123d463ad08921b347b68e686@localhost.localdomain>
Download mbox | patch
Permalink /patch/26285/
State Not Applicable
Headers show

Comments

phabricator - Dec. 14, 2017, 8:54 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc8e8e14a5ee9: statprof: remove a line of deadcode (authored by alex_gaynor, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1689?vs=4436&id=4437

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

AFFECTED FILES
  mercurial/statprof.py

CHANGE DETAILS




To: alex_gaynor, durin42, #hg-reviewers, quark
Cc: mercurial-devel

Patch

diff --git a/mercurial/statprof.py b/mercurial/statprof.py
--- a/mercurial/statprof.py
+++ b/mercurial/statprof.py
@@ -815,7 +815,6 @@ 
         tos = sample.stack[0]
         name = tos.function
         path = simplifypath(tos.path)
-        category = '%s:%d' % (path, tos.lineno)
         stack = tuple((('%s:%d' % (simplifypath(frame.path), frame.lineno),
                         frame.function) for frame in sample.stack))
         qstack = collections.deque(stack)