1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 05:50:55 +01:00

Support git svn dcommit in arc land

Test Plan: Displayed accepted Git SVN revision.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4124
This commit is contained in:
vrana 2012-12-07 18:15:46 -08:00
parent f2271564ed
commit 89ab9d4acb

View file

@ -25,11 +25,8 @@ final class DifferentialRevisionStatusFieldSpecification
if ($status == ArcanistDifferentialRevisionStatus::ACCEPTED) { if ($status == ArcanistDifferentialRevisionStatus::ACCEPTED) {
$next_step = null; $next_step = null;
if ($local_vcs == $backing_vcs) {
switch ($local_vcs) { switch ($local_vcs) {
case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL: case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL:
$next_step = '<tt>hg push</tt>';
break;
case PhabricatorRepositoryType::REPOSITORY_TYPE_GIT: case PhabricatorRepositoryType::REPOSITORY_TYPE_GIT:
$next_step = '<tt>arc land</tt>'; $next_step = '<tt>arc land</tt>';
break; break;
@ -37,9 +34,6 @@ final class DifferentialRevisionStatusFieldSpecification
$next_step = '<tt>arc commit</tt>'; $next_step = '<tt>arc commit</tt>';
break; break;
} }
} else {
$next_step = '<tt>arc amend</tt>';
}
if ($next_step) { if ($next_step) {
$info = ' &middot; Next step: '.$next_step; $info = ' &middot; Next step: '.$next_step;
} }