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

Enable "Allow Dangerous Changes" config for Mercurial repositories

Summary:
Fixes T4357. The Mercurial commit hooks enforce dangerous change protection, but the UI doesn't actually let you configure it.

This was just an oversight (I never went back and enabled it) -- allow it to be configured in the UI.

Test Plan: Clicked "Edit Repository" on a hosted Mercurial repository, saw option to enable dangerous changes.

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T4357

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

+1 -1
+1 -1
src/applications/repository/storage/PhabricatorRepository.php
··· 1050 1050 return false; 1051 1051 } 1052 1052 1053 - if ($this->isGit()) { 1053 + if ($this->isGit() || $this->isHg()) { 1054 1054 return true; 1055 1055 } 1056 1056