mercurial/dispatch.py
changeset 32040 0fb78cb90ca7
parent 31960 71dcd4a4fa2f
child 32041 38963a53ab0d
--- a/mercurial/dispatch.py	Sat Apr 15 10:51:17 2017 +0900
+++ b/mercurial/dispatch.py	Sat Apr 15 12:58:06 2017 +0900
@@ -258,9 +258,9 @@
             ui.traceback()
             raise
 
-    return callcatch(ui, _runcatchfunc)
+    return _callcatch(ui, _runcatchfunc)
 
-def callcatch(ui, func):
+def _callcatch(ui, func):
     """like scmutil.callcatch but handles more high-level exceptions about
     config parsing and commands. besides, use handlecommandexception to handle
     uncaught exceptions.