mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
e75b9fc1b1
Summary: This commit moves most of the stuff in hgext3rd and related tests to hg-crew/hgext and hg-crew/test respectively. The things that are not moved are the ones which require some more complex imports. Depends on D6675309 Test Plan: - tests are failing at this commit, fixes are in the following commits Reviewers: #sourcecontrol Differential Revision: https://phabricator.intern.facebook.com/D6675329
30 lines
789 B
Perl
30 lines
789 B
Perl
$ hg init repo
|
|
$ cd repo
|
|
$ cat > .hg/hgrc <<EOF
|
|
> [extensions]
|
|
> sparse=$TESTDIR/../hgext3rd/fbsparse.py
|
|
> dragdag=$RUNTESTDIR/drawdag.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
|
|
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/dc0947a82db8-b8481714-rebase.hg (glob)
|