]> khamidou — GitHub mirrors - arcanist.git/commit
Fix issue with SVN property changes under Windows
authorepriestley <git@epriestley.com>
Wed, 20 Feb 2013 21:24:14 +0000 (13:24 -0800)
committerepriestley <git@epriestley.com>
Wed, 20 Feb 2013 21:24:14 +0000 (13:24 -0800)
commit31a390a38c96b7eb32d35ce50f14697ccff5ee47
tree5f397768c4e7ecddcb47b73cc324c49b81550f01
parentba560159d4bc6b2e7a874a720d76d68b6f0c401d
Fix issue with SVN property changes under Windows

Summary: We were incorrectly matching `$` in the regexp against a possible `\r\n`. I missed this earlier when trying to catch all of these.

Test Plan:
  - Added unit test and made it pass.
  - Did another search for `getLine()` to see if I could spot any more of these, but failed to identify any via inspection.

Reviewers: vrana, mbishopim3

Reviewed By: mbishopim3

CC: aran
Differential Revision: https://secure.phabricator.com/D5038
src/parser/ArcanistDiffParser.php
src/parser/__tests__/ArcanistDiffParserTestCase.php
src/parser/__tests__/diff/svn-property-windows.svndiff [new file with mode: 0644]