1
0
Fork 0
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:
epriestley 2012-02-22 10:07:43 -08:00
parent b058efbb51
commit 9fb634880e

View file

@ -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;