@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
at upstream/main 25 lines 496 B view raw
1<?php 2 3final class DiffusionSvnRequest extends DiffusionRequest { 4 5 protected function isStableCommit($symbol) { 6 if ($symbol === null) { 7 return false; 8 } 9 return preg_match('/^[1-9]\d*\z/', $symbol); 10 } 11 12 protected function didInitialize() { 13 if ($this->path === null) { 14 $subpath = $this->repository->getDetail('svn-subpath'); 15 if ($subpath) { 16 $this->path = $subpath; 17 } 18 } 19 } 20 21 protected function getArcanistBranch() { 22 return 'svn'; 23 } 24 25}