mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +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
30 lines
640 B
Perl
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
|