mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
d2730c3ba0
Reviewed By: quark-zju Differential Revision: D19457676 fbshipit-source-id: 5bbab22ff0d98b725b63b906864037fae5fa5171
26 lines
587 B
Perl
26 lines
587 B
Perl
#chg-compatible
|
|
|
|
$ hg init repo
|
|
$ cd repo
|
|
$ enable sparse rebase
|
|
|
|
$ 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)
|
|
temporarily included 1 file(s) in the sparse checkout for merging
|
|
cleaned up 1 temporarily added file(s) from the sparse checkout
|