##// END OF EJS Templates
histedit: log the time taken to read in the commands list...
Simon Farnsworth -
r30983:d4825798 default
parent child Browse files
Show More
@@ -992,7 +992,8 b' def _getgoal(opts):'
992
992
993 def _readfile(ui, path):
993 def _readfile(ui, path):
994 if path == '-':
994 if path == '-':
995 return ui.fin.read()
995 with ui.timeblockedsection('histedit'):
996 return ui.fin.read()
996 else:
997 else:
997 with open(path, 'rb') as f:
998 with open(path, 'rb') as f:
998 return f.read()
999 return f.read()
General Comments 0
You need to be logged in to leave comments. Login now