@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

vrana 89ab9d4a f2271564

+8 -14
+8 -14
src/applications/differential/field/specification/DifferentialRevisionStatusFieldSpecification.php
··· 25 25 26 26 if ($status == ArcanistDifferentialRevisionStatus::ACCEPTED) { 27 27 $next_step = null; 28 - if ($local_vcs == $backing_vcs) { 29 - switch ($local_vcs) { 30 - case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL: 31 - $next_step = '<tt>hg push</tt>'; 32 - break; 33 - case PhabricatorRepositoryType::REPOSITORY_TYPE_GIT: 34 - $next_step = '<tt>arc land</tt>'; 35 - break; 36 - case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN: 37 - $next_step = '<tt>arc commit</tt>'; 38 - break; 39 - } 40 - } else { 41 - $next_step = '<tt>arc amend</tt>'; 28 + switch ($local_vcs) { 29 + case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL: 30 + case PhabricatorRepositoryType::REPOSITORY_TYPE_GIT: 31 + $next_step = '<tt>arc land</tt>'; 32 + break; 33 + case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN: 34 + $next_step = '<tt>arc commit</tt>'; 35 + break; 42 36 } 43 37 if ($next_step) { 44 38 $info = ' &middot; Next step: '.$next_step;