HomePhabricator

Move commit message/metadata field query to a separate class

Description

Move commit message/metadata field query to a separate class

Summary: Ref T4195. I need to query commit metadata to figure out which revision a commit is associated with. Move this out of the MessageParser so the code can be called from the HookEngine.

Test Plan: Used reparse.php to reparse a variety of SVN, Mercurial and Git commits. Used var_dump() to verify sensible fields were returned.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4195

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

Details

Provenance
epriestleyAuthored on Dec 20 2013, 8:38 PM
epriestleyPushed on Dec 20 2013, 8:38 PM
Reviewer
btrahan
Differential Revision
D7805: Move commit message/metadata field query to a separate class
Parents
rP23332241b20e: Move commit hash querying to DiffusionLowLevelCommitQuery
Branches
Unknown
Tags
Unknown
Tasks
T4195: Implement pre-commit Herald rules

Event Timeline