Homec4science

Use `PhabricatorAuditEditor` to write revert edges

Authored by Joshua Spence <josh@joshuaspence.com> on Jan 5 2015, 21:30.

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

Committed
Joshua Spence <josh@joshuaspence.com>Jan 5 2015, 21:30
Pushed
aubortJan 31 2017, 17:16
Parents
rPH311747bd5e58: Change CLOSED colors to Indigo over Black
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPHdd42020ef3bc: Use `PhabricatorAuditEditor` to write revert edges (authored by Joshua Spence <josh@joshuaspence.com>).Jan 5 2015, 21:30