Homec4science

Provide better parsing primitives for hunks

Authored by epriestley <git@epriestley.com> on Mar 24 2015, 21:11.

Description

Provide better parsing primitives for hunks

Summary:
Ref T1266. This prepares to fix case (2) on T1266 by improving the robustness of hunk parsing.

In particular, the copy detection code abuses this API because it isn't currently expressive or flexible enough.

Make it more flexible and cover it exhaustively.

I'll move callsites to the new stuff in upcoming revisions.

Test Plan: Unit tests.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T1266

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

Details

Committed
epriestley <git@epriestley.com>Mar 24 2015, 21:11
Pushed
aubortJan 31 2017, 17:16
Parents
rPHdcaafd6159da: Conpherence - grey out username mentions if they aren't in the conpherence
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH74a4c2cf0b1b: Provide better parsing primitives for hunks (authored by epriestley <git@epriestley.com>).Mar 24 2015, 21:11