mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 06:47:41 +03:00
efe1353320
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
19 lines
358 B
Raku
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
|