This is an archive of the discontinued Mercurial Phabricator instance.

fsmonitor: fsmonitor should send wlock notifications to watchman
ClosedPublic

Authored by ekent on Dec 6 2017, 9:54 PM.

Details

Summary

The fsmonitor extension should send state-enter and state-leave
notifications to watchman when the wlock is acquired/release, respectively.
This will allow watchman and watchman subscribers to customize behavior based
on whether source control operations are occurring.

Test Plan

Tested checkout, update and working copy changes with extension enabled.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ekent created this revision.Dec 6 2017, 9:54 PM
durin42 added a subscriber: durin42.

This looks fine to me, assuming I'm right that D1611 and D1612 have swapped commit messages...

ekent retitled this revision from fsmonitor: remove watchman transaction and working copy change notifications to fsmonitor: fsmonitor should send wlock notifications to watchman.Dec 7 2017, 7:38 PM
ekent edited the summary of this revision. (Show Details)
durin42 accepted this revision.Dec 8 2017, 2:32 PM
This revision is now accepted and ready to land.Dec 8 2017, 2:32 PM
This revision was automatically updated to reflect the committed changes.