HomePhabricator

Use `PhabricatorAuditEditor` to write revert edges

Description

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jan 5 2015, 8:30 PM
Reviewer
Blessed Reviewers
Differential Revision
D11212: Use `PhabricatorAuditEditor` to write revert edges
Parents
rP311747bd5e58: Change CLOSED colors to Indigo over Black
Branches
Unknown
Tags
Unknown