]> khamidou — GitHub mirrors - arcanist.git/commit
Allow arc to parse `svnlook` diffs from moves/copies
authorepriestley <git@epriestley.com>
Tue, 1 Apr 2014 15:20:55 +0000 (08:20 -0700)
committerepriestley <git@epriestley.com>
Tue, 1 Apr 2014 15:20:55 +0000 (08:20 -0700)
commita36969e58bb4d87e8f922a1985a450573786fe48
tree2cef2e34dc0f7117ed35b99912313ee4c970079d
parentd0bab7f34aabbf3a6f64c9359370362338e515fd
Allow arc to parse `svnlook` diffs from moves/copies

Summary: Ref T4697. This is similar to the existing stuff, but `svnlook diff ...` can also produce a "Copied" header. Currently, we choke on it in Herald when running pre-commit rules.

Test Plan: Added and ran tests. In the next diff, used this in a real system.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4697

Differential Revision: https://secure.phabricator.com/D8653
src/parser/ArcanistDiffParser.php
src/parser/__tests__/ArcanistDiffParserTestCase.php
src/parser/__tests__/diff/svnlook-copied.svndiff [new file with mode: 0644]