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

Add some additional patterns to the "filter Mercurial --debug output" list

Summary:
Modern Mercurial may emit some more patterns under "--debug".

This whole list is gross and can likely now be eliminated by increasing the minimum required Mercurial version (as `arc` has), but just paper over it for now.

Test Plan:
Locally, saw some views return to functional behavior that weren't previously working on a modern version of Mercurial.

The reproduction case is likely something in the vein of "repository is not writable by webserver, look at history view".

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

+5
+5
src/applications/diffusion/protocol/DiffusionMercurialCommandEngine.php
··· 68 68 // http://selenic.com/pipermail/mercurial-devel/2011-February/028541.html 69 69 // 70 70 // After Jan 2015, it may also fail to write to a revision branch cache. 71 + // 72 + // Separately, it may fail to write to a different branch cache, and may 73 + // encounter issues reading the branch cache. 71 74 72 75 $ignore = array( 73 76 'ignoring untrusted configuration option', 74 77 "couldn't write revision branch cache:", 78 + "couldn't write branch cache:", 79 + 'invalid branchheads cache', 75 80 ); 76 81 77 82 foreach ($ignore as $key => $pattern) {