]> khamidou — GitHub mirrors - arcanist.git/commit
Add a `willCreateRevision` event
authorepriestley <git@epriestley.com>
Thu, 30 Aug 2012 19:28:35 +0000 (12:28 -0700)
committerepriestley <git@epriestley.com>
Thu, 30 Aug 2012 19:28:35 +0000 (12:28 -0700)
commitd79664a30d43f2406a008b85231c5c185304736c
treed928226c68ddb29ad68b3f8e958bcdb80a6a960f
parent4a786f48de48f195c41a1aba815376b64f7cb177
Add a `willCreateRevision` event

Summary:
Adds an event prior to creation of a new revision so installs can muck around with titles, etc.

I'll also update the docs.

Test Plan: Ran "arc diff --trace" and observed event dispatch. Added `var_dump()` and verified $revision is a reasonable object.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran, geoffberger
Differential Revision: https://secure.phabricator.com/D3408
src/events/constant/ArcanistEventType.php
src/workflow/ArcanistDiffWorkflow.php