Show More
@@ -774,6 +774,7 b' def _dispatch(req):' | |||
|
774 | 774 | # Check abbreviation/ambiguity of shell alias. |
|
775 | 775 | shellaliasfn = _checkshellalias(lui, ui, args) |
|
776 | 776 | if shellaliasfn: |
|
777 | with profiling.maybeprofile(lui): | |
|
777 | 778 | return shellaliasfn() |
|
778 | 779 | |
|
779 | 780 | # check for fallback encoding |
@@ -844,7 +845,7 b' def _dispatch(req):' | |||
|
844 | 845 | elif not cmd: |
|
845 | 846 | return commands.help_(ui, 'shortlist') |
|
846 | 847 | |
|
847 | if True: | |
|
848 | with profiling.maybeprofile(lui): | |
|
848 | 849 | repo = None |
|
849 | 850 | cmdpats = args[:] |
|
850 | 851 | if not _cmdattr(ui, cmd, func, 'norepo'): |
@@ -904,7 +905,6 b' def _dispatch(req):' | |||
|
904 | 905 | |
|
905 | 906 | def _runcommand(ui, options, cmd, cmdfunc): |
|
906 | 907 | """Run a command function, possibly with profiling enabled.""" |
|
907 | with profiling.maybeprofile(ui): | |
|
908 | 908 |
|
|
909 | 909 |
|
|
910 | 910 |
|
General Comments 0
You need to be logged in to leave comments.
Login now