mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
d8663cb534
Summary: It turns out some old repos are still using the legacy treedirstate format, which broke when I made this a hard requirement. Let's roll this back for now. Reviewed By: singhsrb Differential Revision: D19313773 fbshipit-source-id: ded78be033cb04323a2e1d237059947dee509df9
20 lines
588 B
Perl
20 lines
588 B
Perl
#require fsmonitor
|
|
|
|
$ setconfig fsmonitor.warn-fresh-instance=true
|
|
$ newrepo
|
|
|
|
A warning is printed for the first use
|
|
|
|
$ hg status --debug
|
|
warning: watchman has recently started (pid *) - operation will be slower than usual (glob)
|
|
poststatusfixup decides to wait for wlock since watchman reported fresh instance
|
|
|
|
$ hg status --debug
|
|
|
|
Verify that we can fallback to walking
|
|
- Migrate the dirstate to reset the clock
|
|
$ hg debugtreestate v0
|
|
$ hg debugtreestate on
|
|
$ hg status --config fsmonitor.walk_on_invalidate=True --debug
|
|
fsmonitor: fallback to core status, no clock
|