1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 17:58:47 +02:00
phorge-phorge/src/applications/diffusion
epriestley b0f7e7a6af Work around hg echoing warnings to stdout under --debug
Summary:
Ref T615. Ref T4237. With `--debug`, Mercurial will echo an "ignoring untrusted configuration option" warning **to stdout** if `.hgrc` has the wrong owner.

However, we need `--debug` to make `{parents}` usable, at least until the patches I got into the upstream are widely deployed. So after getting `--debug` output, strip off any leading warnings.

These warnings should always be in English, at least, since we set `LANG` explicitly.

Test Plan: Unit tests. @asherkin, maybe you can confirm this? I can't actually get the warning, but I think my `hg` in PATH is just a bit out of date.

Reviewers: asherkin, btrahan

Reviewed By: asherkin

CC: asherkin, aran

Maniphest Tasks: T615, T4237

Differential Revision: https://secure.phabricator.com/D7784
2013-12-17 18:04:01 -08:00
..
application Add a basic push log for recording repository push events 2013-12-05 11:56:14 -08:00
capability Add global "push" policy to Repositories 2013-10-29 15:32:40 -07:00
conduit Work around hg echoing warnings to stdout under --debug 2013-12-17 18:04:01 -08:00
config Specify an ssh port for Diffusion when running against the grain 2013-12-11 12:11:13 -08:00
controller Restructure HookEngine to use PushLog records for all operations 2013-12-17 08:32:33 -08:00
data Fix tag content display in Git 2013-11-04 12:16:53 -08:00
doorkeeper Remove loadMemberPHIDs from PhabricatorProject 2013-10-06 17:07:08 -07:00
engine Add Herald support for blocking ref changes 2013-12-17 15:23:55 -08:00
events Tie application event listeners to the applications they listen for 2013-10-21 17:00:21 -07:00
exception Reject dangerous changes in Git repositories by default 2013-12-03 10:28:39 -08:00
herald Add Herald support for blocking ref changes 2013-12-17 15:23:55 -08:00
panel Implementation of VCS passwords against user. 2013-11-01 08:34:11 -07:00
protocol Support serving SVN repositories over SSH 2013-11-11 12:19:06 -08:00
query Work around hg echoing warnings to stdout under --debug 2013-12-17 18:04:01 -08:00
remarkup Use Application PHIDs for commits 2013-07-22 12:17:34 -07:00
request Fix an issue with non-bare Git repositories and non-master branches 2013-11-05 17:38:15 -08:00
response Allow Phabricator to serve Mercurial repositories over HTTP 2013-11-06 18:00:42 -08:00
ssh Store pusher remote address and push protocol in PushLog 2013-12-05 11:59:22 -08:00
view Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
DiffusionLintSaveRunner.php Make most repository reads policy-aware 2013-09-25 16:54:48 -07:00