mercurial/statprof.py
changeset 30299 1e5346313963
parent 30258 eea89068a98d
child 30568 bb35fe8621f5
--- a/mercurial/statprof.py	Sat Nov 05 13:20:53 2016 +0900
+++ b/mercurial/statprof.py	Fri Nov 04 20:22:37 2016 -0700
@@ -324,6 +324,8 @@
         if statprofpath:
             save_data(statprofpath)
 
+    return state
+
 def save_data(path):
     with open(path, 'w+') as file:
         file.write(str(state.accumulated_time) + '\n')