]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix diffusion.looksoon call to actually work
authorepriestley <git@epriestley.com>
Fri, 23 May 2014 18:00:07 +0000 (11:00 -0700)
committerepriestley <git@epriestley.com>
Fri, 23 May 2014 18:00:07 +0000 (11:00 -0700)
Summary:
This is all derped up, and we ignore the error so old installs don't break.

Underp it.

Test Plan: Did `arc land`, verified that the call actually went through successfully.

Reviewers: btrahan, davedash

Reviewed By: davedash

Subscribers: epriestley

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

src/workflow/ArcanistLandWorkflow.php

index 55df534c67ee5314b6c4044278150cf97e5b3964..6591a9303b113618c561924e57603253b529a960 100644 (file)
@@ -191,7 +191,7 @@ EOTEXT
 
     if ($this->useSquash) {
       $this->rebase();
-      $this->squash();      
+      $this->squash();
     } else {
       $this->merge();
     }
@@ -1015,7 +1015,7 @@ EOTEXT
           $this->getConduit()->callMethodSynchronous(
             'diffusion.looksoon',
             array(
-              'callsign' => $this->getRepositoryCallsign(),
+              'callsigns' => array($this->getRepositoryCallsign()),
             ));
         } catch (ConduitClientException $ex) {
           // If we hit an exception, just ignore it. Likely, we are running