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
Unknown Object (File)
Sun, Feb 9, 10:55 AM
Unknown Object (File)
Sun, Feb 9, 10:55 AM
Unknown Object (File)
Sun, Feb 9, 10:55 AM
Unknown Object (File)
Sun, Feb 9, 10:55 AM
Unknown Object (File)
Wed, Feb 5, 5:01 PM
Unknown Object (File)
Wed, Feb 5, 3:48 PM
Unknown Object (File)
Jan 31 2025, 11:57 PM
Unknown Object (File)
Jan 31 2025, 9:47 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