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
F14481334: D7805.diff
Mon, Dec 30, 2:28 AM
Unknown Object (File)
Tue, Dec 17, 1:10 PM
Unknown Object (File)
Sat, Dec 7, 10:27 PM
Unknown Object (File)
Tue, Dec 3, 1:27 AM
Unknown Object (File)
Sat, Nov 30, 7:30 AM
Unknown Object (File)
Sat, Nov 30, 7:29 AM
Unknown Object (File)
Sat, Nov 30, 6:56 AM
Unknown Object (File)
Sat, Nov 30, 6:33 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