sapling/eden/scm/tests/test-include-fail.t
Adam Simpkins ab3a7cb21f Move fb-mercurial sources into an eden/scm subdirectory.
Summary:
In preparation for merging fb-mercurial sources to the Eden repository,
move everything from the top-level directory into an `eden/scm`
subdirectory.
2019-11-13 16:04:48 -08:00

23 lines
313 B
Perl

#require execbit
$ cat >> $HGRCPATH <<EOF
> [ui]
> foo = bar
> %include $TESTTMP/eperm/rc
> EOF
$ mkdir eperm
$ cat > $TESTTMP/eperm/rc <<EOF
> [ui]
> foo = baz
> EOF
$ hg config ui.foo
baz
An EPERM just causes the include to be ignored:
$ chmod -x eperm
$ hg config ui.foo
bar