Add more information to differential.getdiff
Summary: We need some additional fields to heuristically match revisions to the working copy in arc. Test Plan: Executed conduit method, got correct values in fields Reviewers: btrahan, jungejason Reviewed By: jungejason CC: aran, jungejason Differential Revision: https://secure.phabricator.com/D1347
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2011 Facebook, Inc.
|
* Copyright 2012 Facebook, Inc.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -159,6 +159,9 @@ class DifferentialDiff extends DifferentialDAO {
|
|||||||
'revisionID' => $this->getRevisionID(),
|
'revisionID' => $this->getRevisionID(),
|
||||||
'sourceControlBaseRevision' => $this->getSourceControlBaseRevision(),
|
'sourceControlBaseRevision' => $this->getSourceControlBaseRevision(),
|
||||||
'sourceControlPath' => $this->getSourceControlPath(),
|
'sourceControlPath' => $this->getSourceControlPath(),
|
||||||
|
'sourceControlSystem' => $this->getSourceControlSystem(),
|
||||||
|
'sourcePath' => $this->getSourcePath(),
|
||||||
|
'branch' => $this->getBranch(),
|
||||||
'unitStatus' => $this->getUnitStatus(),
|
'unitStatus' => $this->getUnitStatus(),
|
||||||
'lintStatus' => $this->getLintStatus(),
|
'lintStatus' => $this->getLintStatus(),
|
||||||
'changes' => array(),
|
'changes' => array(),
|
||||||
|
|||||||
Reference in New Issue
Block a user