mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
8c4a52d608
Summary: This makes tests closer to production setup and removes a bunch of "saved backup bundle to ..." messages. With D9236657, this should not hurt server-side performance. Unfortunately a lot tests cannot be migrated easily, mostly because revision numbers are used. They are left with a TODO. Reviewed By: DurhamG Differential Revision: D9237694 fbshipit-source-id: c993fce18f07aba09f6d70964e248af8d501575a
28 lines
654 B
Perl
28 lines
654 B
Perl
$ hg init repo
|
|
$ cd repo
|
|
$ cat > .hg/hgrc <<EOF
|
|
> [extensions]
|
|
> sparse=$TESTDIR/../hgext/sparse.py
|
|
> 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 2: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 3: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
|