##// END OF EJS Templates
dispatch: mark callcatch() as a private function
Yuya Nishihara -
r32040:0fb78cb9 default
parent child Browse files
Show More
@@ -258,9 +258,9 b' def _runcatch(req):'
258 ui.traceback()
258 ui.traceback()
259 raise
259 raise
260
260
261 return callcatch(ui, _runcatchfunc)
261 return _callcatch(ui, _runcatchfunc)
262
262
263 def callcatch(ui, func):
263 def _callcatch(ui, func):
264 """like scmutil.callcatch but handles more high-level exceptions about
264 """like scmutil.callcatch but handles more high-level exceptions about
265 config parsing and commands. besides, use handlecommandexception to handle
265 config parsing and commands. besides, use handlecommandexception to handle
266 uncaught exceptions.
266 uncaught exceptions.
@@ -89,7 +89,7 b''
89 */mercurial/dispatch.py:* in run (glob)
89 */mercurial/dispatch.py:* in run (glob)
90 */mercurial/dispatch.py:* in dispatch (glob)
90 */mercurial/dispatch.py:* in dispatch (glob)
91 */mercurial/dispatch.py:* in _runcatch (glob)
91 */mercurial/dispatch.py:* in _runcatch (glob)
92 */mercurial/dispatch.py:* in callcatch (glob)
92 */mercurial/dispatch.py:* in _callcatch (glob)
93 */mercurial/scmutil.py* in callcatch (glob)
93 */mercurial/scmutil.py* in callcatch (glob)
94 */mercurial/dispatch.py:* in _runcatchfunc (glob)
94 */mercurial/dispatch.py:* in _runcatchfunc (glob)
95 */mercurial/dispatch.py:* in _dispatch (glob)
95 */mercurial/dispatch.py:* in _dispatch (glob)
@@ -120,7 +120,7 b''
120 */mercurial/dispatch.py:* in run (glob)
120 */mercurial/dispatch.py:* in run (glob)
121 */mercurial/dispatch.py:* in dispatch (glob)
121 */mercurial/dispatch.py:* in dispatch (glob)
122 */mercurial/dispatch.py:* in _runcatch (glob)
122 */mercurial/dispatch.py:* in _runcatch (glob)
123 */mercurial/dispatch.py:* in callcatch (glob)
123 */mercurial/dispatch.py:* in _callcatch (glob)
124 */mercurial/scmutil.py* in callcatch (glob)
124 */mercurial/scmutil.py* in callcatch (glob)
125 */mercurial/dispatch.py:* in _runcatchfunc (glob)
125 */mercurial/dispatch.py:* in _runcatchfunc (glob)
126 */mercurial/dispatch.py:* in _dispatch (glob)
126 */mercurial/dispatch.py:* in _dispatch (glob)
@@ -141,7 +141,7 b''
141 */mercurial/dispatch.py:* in run (glob)
141 */mercurial/dispatch.py:* in run (glob)
142 */mercurial/dispatch.py:* in dispatch (glob)
142 */mercurial/dispatch.py:* in dispatch (glob)
143 */mercurial/dispatch.py:* in _runcatch (glob)
143 */mercurial/dispatch.py:* in _runcatch (glob)
144 */mercurial/dispatch.py:* in callcatch (glob)
144 */mercurial/dispatch.py:* in _callcatch (glob)
145 */mercurial/scmutil.py* in callcatch (glob)
145 */mercurial/scmutil.py* in callcatch (glob)
146 */mercurial/dispatch.py:* in _runcatchfunc (glob)
146 */mercurial/dispatch.py:* in _runcatchfunc (glob)
147 */mercurial/dispatch.py:* in _dispatch (glob)
147 */mercurial/dispatch.py:* in _dispatch (glob)
General Comments 0
You need to be logged in to leave comments. Login now