Page MenuHomePhabricator

Move commit message/metadata field query to a separate class
ClosedPublic

Authored by epriestley on Dec 19 2013, 9:42 PM.
Tags
None
Referenced Files
F14837525: D7805.id17662.diff
Fri, Jan 31, 9:47 AM
Unknown Object (File)
Sat, Jan 25, 5:02 PM
Unknown Object (File)
Sat, Jan 25, 5:02 PM
Unknown Object (File)
Sat, Jan 25, 5:02 PM
Unknown Object (File)
Thu, Jan 23, 9:43 PM
Unknown Object (File)
Fri, Jan 17, 12:22 PM
Unknown Object (File)
Sun, Jan 5, 10:13 PM
Unknown Object (File)
Thu, Jan 2, 2:34 AM
Subscribers

Details

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.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped