mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Make 'arc diff --auto' only identify open revisions
Summary: Otherwise, "arc diff --auto" on a branch with the same name as some other branch you previously used tries to update that revision. Test Plan: Ran "arc diff --auto" on a "listdocs" branch; arc didn't try to update D1639. Reviewers: btrahan Reviewed By: btrahan CC: aran, epriestley Maniphest Tasks: T614 Differential Revision: https://secure.phabricator.com/D1662
This commit is contained in:
parent
b058efbb51
commit
9fb634880e
1 changed files with 1 additions and 0 deletions
|
@ -1127,6 +1127,7 @@ EOTEXT
|
||||||
$this->getConduit(),
|
$this->getConduit(),
|
||||||
array(
|
array(
|
||||||
'authors' => array($this->getUserPHID()),
|
'authors' => array($this->getUserPHID()),
|
||||||
|
'status' => 'status-open',
|
||||||
));
|
));
|
||||||
if (!$revisions) {
|
if (!$revisions) {
|
||||||
$is_create = true;
|
$is_create = true;
|
||||||
|
|
Loading…
Reference in a new issue