sapling/eden/scm/tests/test-purge-fsmonitor.t
Durham Goode efe1353320 tests: remove #requires py2
Summary:
We've been off Python 2 for almost a year. Let's remove the py2
requirement on some tests.

Note, this deletes a few unused extensions: edrecord, gpg, perfsuite, repogenerator, and grepdiff

Reviewed By: quark-zju

Differential Revision: D32654701

fbshipit-source-id: 31d93180d9b2db0b8a92a024f4b80592940a69e4
2021-12-06 14:59:43 -08:00

19 lines
358 B
Raku

#require fsmonitor
$ newrepo
$ touch x
Watchman clock is set after "status"
$ hg status
? x
$ hg debugshell -c 'ui.write("%s\n" % str(repo.dirstate.getclock()))'
c:* (glob)
Watchman clock is not reset after a "purge --all"
$ hg purge --all
$ hg debugshell -c 'ui.write("%s\n" % str(repo.dirstate.getclock()))'
c:* (glob)
$ hg status