mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
ec0b533381
Summary: Debug output belongs to stderr. This makes it possible to turn on debug output without breaking programs parsing stdout. Reviewed By: singhsrb Differential Revision: D25315954 fbshipit-source-id: c7813a824fbf6640cb5b80b5ed2d947e7059d53e
28 lines
686 B
Perl
28 lines
686 B
Perl
#require fsmonitor
|
|
|
|
$ newrepo
|
|
$ 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
|