equal
deleted
inserted
replaced
990 return goaleditplan |
990 return goaleditplan |
991 return goalnew |
991 return goalnew |
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() |
999 |
1000 |
1000 def _validateargs(ui, repo, state, freeargs, opts, goal, rules, revs): |
1001 def _validateargs(ui, repo, state, freeargs, opts, goal, rules, revs): |