##// END OF EJS Templates
config: raise ConfigError on non-existing include files...
config: raise ConfigError on non-existing include files Before, an %include directive for a non-existing file resulted in an IOError and a traceback.

File last commit:

r5951:92eb0a01 default
r10042:7cdd2a7d stable
Show More
test-paths
10 lines | 162 B | text/plain | TextLexer
#!/bin/sh
hg init a
hg clone a b
cd a
echo '[paths]' >> .hg/hgrc
echo 'dupe = ../b' >> .hg/hgrc
hg in dupe | fgrep '../'
cd ..
hg -R a in dupe | fgrep '../'
true