sapling/eden/scm/tests/test-purge-fsmonitor.t

19 lines
358 B
Perl
Raw Normal View History

#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