Mercurial > hg
view contrib/macosx/distribution.xml @ 34565:4aa57627692a
fsmonitor: add new watchman notifications to fsmonitor extension
The fsmonitor extension currently sends state-enter and state-leave
notifications to watchman on the update operation. This commit creates
additional notifications for the following events :
- transaction creation and commit/abort. A state-enter notification will be
sent when a transaction is created. It will provide the working copy
parent's hash. A state-leave notification will be sent when the
transaction is committed or aborted. It will provide the working copy
parent's hash.
- calls to set-parent will cause state-enter and state-leave notifications
to be sent. The state-enter notification will be sent prior to the
set-parent operation and the working copy parent's hash will be provided at
this time. The state-leave notification will be sent after the set-parent
operation completes providing the working copy parents hash.
Test Plan:
tested on dev server to check that necessary notifications were sent/received
Differential Revision: https://phab.mercurial-scm.org/D989
author | Eamonn Kent <ekent@fb.com> |
---|---|
date | Mon, 09 Oct 2017 10:09:36 -0700 |
parents | db5084d27df5 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8" standalone="no"?> <installer-gui-script minSpecVersion="1"> <title>Mercurial SCM</title> <organization>org.mercurial-scm</organization> <options customize="never" require-scripts="false" rootVolumeOnly="true" /> <welcome file="Welcome.html" mime-type="text/html" /> <license file="../../COPYING" mime-type="text/plain" /> <readme file="Readme.html" mime-type="text/html" /> <pkg-ref id="org.mercurial-scm.mercurial" version="0" auth="root" onConclusion="none">mercurial.pkg</pkg-ref> <choices-outline> <line choice="org.mercurial-scm.mercurial"/> </choices-outline> <choice id="org.mercurial-scm.mercurial" visible="false"> <pkg-ref id="org.mercurial-scm.mercurial"/> </choice> </installer-gui-script>