hgext/histedit.py
changeset 30983 d4825798818b
parent 30848 7080652af6e6
child 31055 f1b63ec4b987
--- a/hgext/histedit.py	Wed Feb 15 13:34:06 2017 -0800
+++ b/hgext/histedit.py	Wed Feb 15 13:34:06 2017 -0800
@@ -992,7 +992,8 @@
 
 def _readfile(ui, path):
     if path == '-':
-        return ui.fin.read()
+        with ui.timeblockedsection('histedit'):
+            return ui.fin.read()
     else:
         with open(path, 'rb') as f:
             return f.read()