mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
fe7c45c730
Summary: We've fixed various issues, so more of these tests are now passing. Reviewed By: quark-zju Differential Revision: D40487597 fbshipit-source-id: 995e6fa2844bf6d394925f4322a225f7635436aa
32 lines
929 B
Perl
32 lines
929 B
Perl
#require fsmonitor
|
|
|
|
$ configure modernclient
|
|
# trackignore functionality is not used in production anymore, so we can
|
|
# probably delete this test once we fully migrated to Rust status.
|
|
$ setconfig status.use-rust=False workingcopy.ruststatus=False
|
|
$ newclientrepo repo
|
|
$ cat >> .gitignore << EOF
|
|
> .gitignore
|
|
> EOF
|
|
|
|
$ hg status
|
|
$ hg debugtree list
|
|
.gitignore: 0666 -1 -1 NEED_CHECK
|
|
|
|
Stop tracking ignored files removes them from treestate. The migration only happens once.
|
|
|
|
$ setconfig fsmonitor.track-ignore-files=0
|
|
$ hg status --debug 2>&1 | grep tracking
|
|
stop tracking ignored files
|
|
$ hg status
|
|
$ hg debugtree list
|
|
|
|
Start tracking ignored files adds them to treestate. The migration only happens once.
|
|
|
|
$ setconfig fsmonitor.track-ignore-files=1
|
|
$ hg status --debug 2>&1 | grep tracking
|
|
start tracking 1 ignored files
|
|
$ hg status
|
|
$ hg debugtree list
|
|
.gitignore: 0666 -1 -1 NEED_CHECK
|