diff tests/test-hgrc.out @ 10042:7cdd2a7db2c2 stable

config: raise ConfigError on non-existing include files Before, an %include directive for a non-existing file resulted in an IOError and a traceback.
author Martin Geisler <mg@lazybytes.net>
date Sat, 12 Dec 2009 16:46:16 +0100
parents a3d73b3e1f8a
children dc5462d94a72 44c923eeb81d
line wrap: on
line diff
--- a/tests/test-hgrc.out	Thu Dec 10 12:31:21 2009 +0100
+++ b/tests/test-hgrc.out	Sat Dec 12 16:46:16 2009 +0100
@@ -11,3 +11,4 @@
 paths.default=.../foo%bar
 ui.slash=True
 hg: config error at $HGRCPATH:8: '  x = y'
+hg: config error at $HGRCPATH:1: cannot include /no-such-file (No such file or directory)