mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +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
42 lines
786 B
Perl
42 lines
786 B
Perl
#chg-compatible
|
|
|
|
$ eagerepo
|
|
Set up repository
|
|
|
|
$ hg init repo
|
|
$ cd repo
|
|
$ enable extorder rebase histedit
|
|
$ setconfig extensions.dummyext1="$TESTDIR/dummyext1.py"
|
|
$ setconfig extensions.dummyext2="$TESTDIR/dummyext2.py"
|
|
|
|
Simple Dependency
|
|
|
|
$ hg id
|
|
ext1: uisetup
|
|
ext2: uisetup
|
|
ext1: extsetup
|
|
ext2: extsetup
|
|
000000000000
|
|
|
|
$ readconfig <<EOF
|
|
> [extorder]
|
|
> dummyext1 = dummyext2
|
|
> preferfirst = histedit
|
|
> preferlast = rebase
|
|
> EOF
|
|
|
|
$ hg id
|
|
ext1: uisetup
|
|
ext2: uisetup
|
|
ext2: extsetup
|
|
ext1: extsetup
|
|
000000000000
|
|
|
|
Conflicting deps
|
|
|
|
$ setconfig extorder.dummyext2=dummyext1
|
|
$ hg id > out.txt 2>&1
|
|
[1]
|
|
$ grep MercurialExtOrderException: < out.txt
|
|
edenscm.ext.extorder.MercurialExtOrderException: extorder: conflicting extension order
|