mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
051e7a99f0
Summary: Sometimes watchman can return a very long list of files. That would make blackbox rotate too frequently. Truncate that list. Reviewed By: phillco Differential Revision: D9997658 fbshipit-source-id: 1314b7c299a5f50ed344e0b85befd4c0525b1da7
41 lines
531 B
Raku
41 lines
531 B
Raku
#require fsmonitor
|
|
|
|
$ newrepo
|
|
$ enable blackbox
|
|
$ setconfig blackbox.track=fsmonitor_details
|
|
$ hg status
|
|
$ touch x
|
|
$ hg status
|
|
? x
|
|
$ touch 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
|
$ hg status
|
|
? 1
|
|
? 10
|
|
? 11
|
|
? 12
|
|
? 13
|
|
? 14
|
|
? 15
|
|
? 16
|
|
? 17
|
|
? 18
|
|
? 19
|
|
? 2
|
|
? 20
|
|
? 21
|
|
? 22
|
|
? 23
|
|
? 24
|
|
? 25
|
|
? 3
|
|
? 4
|
|
? 5
|
|
? 6
|
|
? 7
|
|
? 8
|
|
? 9
|
|
? x
|
|
$ grep returned .hg/blackbox.log
|
|
*> watchman returned ['x'] (glob)
|
|
*> watchman returned [*] and 5 more entries (glob)
|