Submitter | phabricator |
---|---|
Date | Dec. 14, 2017, 8:18 p.m. |
Message ID | <differential-rev-PHID-DREV-amtlk6lp27h2nfgsru3u-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/26284/ |
State | Superseded |
Headers | show |
Comments
durin42 accepted this revision. durin42 added a comment. This revision is now accepted and ready to land. deleted code is best code REPOSITORY rHG Mercurial BRANCH unused-code (bookmark) on default (branch) REVISION DETAIL https://phab.mercurial-scm.org/D1689 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)