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/differential
epriestley 30b15e094c Load commits affected by revert language in Diffusion message parser
Summary:
Ref T1751. This still doesn't do anything very interesting, but loads the acutal Commit objects that a commit message claims to revert.

The only tricky thing here is that we need to interpret "reverts rnnn" or "reverts nnn" in an SVN repository as "reverts rXnnn", where "X" is the current repository. This adds a method to do allow `DiffusionCommitQuery` to do that.

Test Plan:
Used `reparse.php --message` to reparse several commits with revert language and verify they loaded the correct affected commits.

In an SVN repository, created a commit with ambiguous revert language ("reverts n", "reverts rn", "reverts n, n") and verified it identified the affected commits correctly despite ambiguity.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1751

Differential Revision: https://secure.phabricator.com/D5842
2013-05-06 18:05:33 -07:00
..
__tests__ Require a viewer for Remarkup rendering 2013-03-04 12:33:05 -08:00
application Adding hovercard event listeners for Users, Revisions, Conpherence and Commits 2013-04-05 17:01:54 -07:00
conduit Adding pro tips to Differential commit message 2013-03-19 09:29:25 -07:00
config Flip strings for 'metamta.differential.unified-comment-context' config 2013-04-26 06:19:07 -07:00
constants PHT's for Differential. 2013-01-24 10:46:47 -08:00
controller Making DifferentialListController more mobile-friendly 2013-04-18 12:11:03 -07:00
data Delete license headers from files 2012-11-05 11:16:51 -08:00
editor Fix a missing setActor() on DifferentialNewDiffMail 2013-02-28 17:23:23 -08:00
events Hovercard tweaks 2013-04-06 21:16:55 -07:00
exception Delete license headers from files 2012-11-05 11:16:51 -08:00
field Load commits affected by revert language in Diffusion message parser 2013-05-06 18:05:33 -07:00
lipsum xDiffs and Revisions Generating 2013-05-06 14:11:37 -07:00
mail Require a viewer to load handles 2013-02-28 17:15:09 -08:00
parser Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
query Prepare for hovercards 2013-02-26 14:59:31 -08:00
remarkup Require a viewer for Remarkup rendering 2013-03-04 12:33:05 -08:00
render Fix function/method declaration lint in Phabricator. Automatic patches. 2013-02-19 13:47:03 -08:00
search Require a viewer to load handles 2013-02-28 17:15:09 -08:00
stats Delete license headers from files 2012-11-05 11:16:51 -08:00
storage xDiffs and Revisions Generating 2013-05-06 14:11:37 -07:00
view Condense renames in Differential ToC 2013-04-16 11:02:04 -07:00
DifferentialReplyHandler.php Require a viewer to load handles 2013-02-28 17:15:09 -08:00
DifferentialTasksAttacher.php Delete license headers from files 2012-11-05 11:16:51 -08:00