mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
218c83d574
Summary: In a future diff we'll be removing tags. The most prevalent tag is 'tip', which shows up in a ton of test output. Let's drop that tag first, so we can safely update the tests before we drop tags entirely. Reviewed By: xavierd Differential Revision: D18995058 fbshipit-source-id: 8c63710cd4ed567ea24e32724b8660f9006a61f1
30 lines
636 B
Perl
30 lines
636 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)
|
|
temporarily included 1 file(s) in the sparse checkout for merging
|
|
cleaned up 1 temporarily added file(s) from the sparse checkout
|