view 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 source

hg: config error at .../t/.hg/hgrc:1: 'invalid'
updating to branch default
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
[paths]
default = .../foo%bar
default = .../foo%bar
bundle.mainreporoot=.../foobar
defaults.backout=-d "0 0"
defaults.commit=-d "0 0"
defaults.tag=-d "0 0"
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)