mercurial/dispatch.py
changeset 9471 bccf780f78ed
parent 9467 4c041f1ee1b4
parent 9470 ba75830d17a9
child 9569 ceb0f59e1327
--- a/mercurial/dispatch.py	Thu Sep 17 22:39:38 2009 -0700
+++ b/mercurial/dispatch.py	Sat Sep 19 13:55:18 2009 +0200
@@ -24,6 +24,9 @@
     except util.Abort, inst:
         sys.stderr.write(_("abort: %s\n") % inst)
         return -1
+    except error.ConfigError, inst:
+        sys.stderr.write(_("hg: %s\n") % inst)
+        return -1
     return _runcatch(u, args)
 
 def _runcatch(ui, args):