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

handle svn and hg for auto-close

Summary: in svn and hg (for now), no branch used.

Test Plan: will test live

Reviewers: epriestley

CC: nh, vrana, aran, Korvin

Differential Revision: https://secure.phabricator.com/D2839

Jason Ge 969dcc5b c42f767e

+11
+11
src/applications/repository/storage/PhabricatorRepository.php
··· 433 433 return false; 434 434 } 435 435 436 + switch ($this->getVersionControlSystem()) { 437 + case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN: 438 + return true; 439 + case PhabricatorRepositoryType::REPOSITORY_TYPE_GIT: 440 + break; 441 + case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL: 442 + return true; 443 + default: 444 + throw new Exception("Unrecognized version control system."); 445 + } 446 + 436 447 $branches = $data->getCommitDetail('seenOnBranches', array()); 437 448 foreach ($branches as $branch) { 438 449 if ($this->shouldAutocloseBranch($branch)) {