]> khamidou — GitHub mirrors - arcanist.git/commit
Parse the output of `svnlook diff ...`
authorepriestley <git@epriestley.com>
Wed, 18 Dec 2013 22:20:59 +0000 (14:20 -0800)
committerepriestley <git@epriestley.com>
Wed, 18 Dec 2013 22:20:59 +0000 (14:20 -0800)
commit8e177c4db8d13a0cf0372265557bc025b5cdcd3e
tree71c7ccc3b7ad54fb988401ab53184f8f242f2215
parentcd0ee5492a7702c76fc49925cbb94bc46ca002d4
Parse the output of `svnlook diff ...`

Summary: Ref T4195. When figuring out changed content in SVN, the easiest approach is to use `svnlook diff`, but it has a slightly different header than we're used to. Adjust the parser for it and add some tests.

Test Plan: Clean unit tests.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran
Maniphest Tasks: T4195

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