mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
1dcb7966fc
Summary: These are the tests that passed after adding "$ eagerepo". I attempted to turn on eagerepo for all tests that didn't contain "$ eagerepo" or "configure modern". Reviewed By: quark-zju Differential Revision: D44445379 fbshipit-source-id: b283be6d5249f74e11a3205622961e457587e93b
26 lines
672 B
Perl
26 lines
672 B
Perl
#chg-compatible
|
|
#debugruntest-compatible
|
|
|
|
#if no-windows no-osx
|
|
|
|
$ eagerepo
|
|
$ setconfig config.use-rust=true
|
|
$ mkdir -p xdgconf/sapling
|
|
$ echo '[ui]' > xdgconf/sapling/sapling.conf
|
|
$ echo 'username = foobar' >> xdgconf/sapling/sapling.conf
|
|
$ XDG_CONFIG_HOME="`pwd`/xdgconf" ; export XDG_CONFIG_HOME
|
|
$ unset HGRCPATH
|
|
$ unset SL_CONFIG_PATH
|
|
$ hg config ui.username 2>/dev/null
|
|
foobar
|
|
|
|
$ mkdir -p home/.config/sapling
|
|
$ echo '[ui]' > home/.config/sapling/sapling.conf
|
|
$ echo 'username = bazbaz' >> home/.config/sapling/sapling.conf
|
|
$ HOME="`pwd`/home" ; export HOME
|
|
$ unset XDG_CONFIG_HOME
|
|
$ hg config ui.username 2>/dev/null
|
|
bazbaz
|
|
|
|
#endif
|