1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-16 03:42:41 +01:00
phorge-phorge/src/applications/diffusion/edge
Joshua Spence dd42020ef3 Use PhabricatorAuditEditor to write revert edges
Summary: Use `PhabricatorAuditEditor` instead of `PhabricatorEdgeEditor` when writing reverts edges. This ensures that a transaction is created in addition to the edge.

Test Plan: Reverted a commit and pushed to remote. Saw a row created in `phabricator_audit.audit_transaction_comment`. Interestingly, I can't actually see the transaction at http://phabricator.local/r${CALLSIGN}${REVERTED_COMMIT_HASH}.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11212
2015-01-06 07:30:38 +11:00
..
DiffusionCommitHasRevisionEdgeType.php Migrate Differential revision edges to use modern EdgeType subclasses 2015-01-01 15:07:03 +11:00
DiffusionCommitHasTaskEdgeType.php Use standard infrastructure to attach commits to other objects 2014-08-04 12:03:58 -07:00
DiffusionCommitRevertedByCommitEdgeType.php Use PhabricatorAuditEditor to write revert edges 2015-01-06 07:30:38 +11:00
DiffusionCommitRevertsCommitEdgeType.php Use PhabricatorAuditEditor to write revert edges 2015-01-06 07:30:38 +11:00