mercurial/statprof.py
changeset 40381 4613f9274fc0
parent 40201 7df42042636d
child 40384 fc4c598dd4a0
--- a/mercurial/statprof.py	Fri Oct 19 23:18:29 2018 +0300
+++ b/mercurial/statprof.py	Fri Oct 19 23:30:56 2018 +0300
@@ -664,6 +664,7 @@
                 name = r'%s:%s' % (stack[i].filename(), stack[i].function)
                 while i < len(stack) and name in skips:
                     i += 1
+                    name = r'%s:%s' % (stack[i].filename(), stack[i].function)
                 if i < len(stack):
                     child.add(stack[i:], time)