sapling/eden/scm/tests/test-update-over-sparse-profile-change.t
Andrey Chursin c8871fd796 checkout: support sparse profile update in python binding
Summary:
This diff integrates CheckoutPlan::with_sparse_profile_change into python code
It also updates test-update-over-sparse-profile-change.t to use native checkout, as this test now passes

Reviewed By: DurhamG

Differential Revision: D26670414

fbshipit-source-id: 73011217b4a0d80ef643b778cdaf75bbada5dcf2
2021-03-01 20:25:17 -08:00

43 lines
713 B
Perl

#chg-compatible
#testcases treematcher non-treematcher
$ setconfig experimental.nativecheckout=true
$ newserver server
test sparse
$ newremoterepo myrepo
$ enable sparse
#if treematcher
$ cat >> .hg/hgrc <<EOF
> [experimental]
> treematcher = False
> EOF
#endif
$ echo a > show
$ echo a > show2
$ echo x > hide
$ cat >> .sparse-include <<EOF
> [include]
> show
> .sparse-include
> EOF
$ hg add .sparse-include
$ hg ci -Aqm 'initial'
$ hg sparse enable .sparse-include
$ ls
show
$ cat >> .sparse-include <<EOF
> [include]
> show
> show2
> EOF
$ hg ci -Am 'second'
$ hg up -q 'desc(initial)'
$ ls
show
$ hg up -q 'desc(second)'
$ ls
show
show2