mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
75a8173a10
Summary: Add `#chg-compatible` to 572 tests that seem to pass with chg enabled. This should make them run faster. Reviewed By: xavierd Differential Revision: D18870507 fbshipit-source-id: fe895e733efffc9286cd3d17c7a156c803124395
25 lines
330 B
Perl
25 lines
330 B
Perl
#chg-compatible
|
|
|
|
#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
|