sapling/eden/scm/tests/test-sparse-rebase.t
Jun Wu 75a8173a10 tests: enable chg for 572 tests
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
2019-12-09 15:26:29 -08:00

30 lines
640 B
Perl

#chg-compatible
$ hg init repo
$ cd repo
$ cat > .hg/hgrc <<EOF
> [extensions]
> sparse=
> rebase=
> EOF
$ hg debugdrawdag <<'EOS'
> D
> |
> B C
> |/
> A
> EOS
$ hg sparse --exclude A B C D E
$ hg update A -q
$ printf D > D
$ echo 2 > E
$ hg rebase -s C -d B
rebasing dc0947a82db8 "C" (C)
temporarily included 1 file(s) in the sparse checkout for merging
cleaned up 1 temporarily added file(s) from the sparse checkout
rebasing e7b3f00ed42e "D" (D tip)
temporarily included 1 file(s) in the sparse checkout for merging
cleaned up 1 temporarily added file(s) from the sparse checkout