]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Arcanist - add revision data to TYPE_LAND_WILLPUSHREVISION event
authorBob Trahan <btrahan@phacility.com>
Tue, 11 Mar 2014 22:21:46 +0000 (15:21 -0700)
committerBob Trahan <btrahan@phacility.com>
Tue, 11 Mar 2014 22:21:46 +0000 (15:21 -0700)
Summary:
pretty straight-forward stuff here. Note that in other events we use "fields" or "specification" rather than "revision"; I think "revision" is best particularly in this context where it is in fact the revision being landed.

Fixes T4565.

Test Plan: php -l

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: aran, epriestley, Korvin

Maniphest Tasks: T4565

Differential Revision: https://secure.phabricator.com/D8484

src/workflow/ArcanistLandWorkflow.php

index 67b8e746419d5e325beaf882241d64c4d0ca4cc0..be069800523e424b1c78ac779e3041dffb36eb4d 100644 (file)
@@ -26,6 +26,10 @@ final class ArcanistLandWorkflow extends ArcanistBaseWorkflow {
   private $revision;
   private $messageFile;
 
+  public function getRevisionDict() {
+    return $this->revision;
+  }
+
   public function getWorkflowName() {
     return 'land';
   }