sapling/eden/scm/tests/test-purge-fsmonitor.t
Adam Simpkins ab3a7cb21f Move fb-mercurial sources into an eden/scm subdirectory.
Summary:
In preparation for merging fb-mercurial sources to the Eden repository,
move everything from the top-level directory into an `eden/scm`
subdirectory.
2019-11-13 16:04:48 -08:00

20 lines
341 B
Raku

#require fsmonitor
$ newrepo
$ enable purge
$ touch x
Watchman clock is set after "status"
$ hg status
? x
$ hg debugshell -c 'print(repo.dirstate.getclock())'
c:* (glob)
Watchman clock is not reset after a "purge --all"
$ hg purge --all
$ hg debugshell -c 'print(repo.dirstate.getclock())'
c:* (glob)
$ hg status