diff --git a/mercurial/statprof.py b/mercurial/statprof.py index d4db88a26ad53e20d1183581d1c73b82b0e96686_bWVyY3VyaWFsL3N0YXRwcm9mLnB5..1e53463139637776e6dacc0177162da5e9b9168e_bWVyY3VyaWFsL3N0YXRwcm9mLnB5 100755 --- a/mercurial/statprof.py +++ b/mercurial/statprof.py @@ -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')