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
33 lines
896 B
Perl
33 lines
896 B
Perl
#debugruntest-compatible
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This software may be used and distributed according to the terms of the
|
|
# GNU General Public License version 2.
|
|
|
|
$ eagerepo
|
|
$ cat >> $HGRCPATH << 'EOF'
|
|
> [extensions]
|
|
> arcconfig=$TESTDIR/../edenscm/ext/extlib/phabricator/arcconfig.py
|
|
> EOF
|
|
|
|
# Sanity check expectations when there is no arcconfig
|
|
|
|
$ hg init repo
|
|
$ cd repo
|
|
$ hg debugarcconfig
|
|
abort: no .arcconfig found
|
|
[255]
|
|
|
|
# Show that we can locate and reflect the contents of the .arcconfig from
|
|
# the repo dir
|
|
|
|
$ echo '{"hello": "world"}' > .arcconfig
|
|
$ hg debugarcconfig
|
|
{"_arcconfig_path": "$TESTTMP/repo", "hello": "world"}
|
|
|
|
# We expect to see the combination of the user arcrc and the repo rc
|
|
|
|
$ echo '{"user": true}' > $HOME/.arcrc
|
|
$ hg debugarcconfig
|
|
{"_arcconfig_path": "$TESTTMP/repo", "hello": "world", "user": true}
|