@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 Mercurial commands on Windows

Test Plan: Grepped Hg repo.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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

+2 -1
+2 -1
src/applications/repository/storage/PhabricatorRepository.php
··· 252 252 array_unshift($args, $this->getLocalPath()); 253 253 break; 254 254 case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL: 255 - $pattern = "(cd %s && HGPLAIN=1 hg {$pattern})"; 255 + $hgplain = (phutil_is_windows() ? "set HGPLAIN=1 &&" : "HGPLAIN=1"); 256 + $pattern = "(cd %s && {$hgplain} hg {$pattern})"; 256 257 array_unshift($args, $this->getLocalPath()); 257 258 break; 258 259 default: