mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
ab3a7cb21f
Summary: In preparation for merging fb-mercurial sources to the Eden repository, move everything from the top-level directory into an `eden/scm` subdirectory.
23 lines
313 B
Perl
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
|