]> khamidou — GitHub mirrors - arcanist.git/commit
Fix arc handling of "\n" files on Windows in SVN
authorepriestley <git@epriestley.com>
Wed, 18 Jul 2012 13:53:07 +0000 (06:53 -0700)
committerepriestley <git@epriestley.com>
Wed, 18 Jul 2012 13:53:07 +0000 (06:53 -0700)
commit9997dd7830d9a6ece14db56cbba3443305955c2c
treee7e2f3d801d1c56e8ea5461ad39cd8be0fc07a53
parentf649837785a7f1b797ac08a5b4b17bc2d6e2be37
Fix arc handling of "\n" files on Windows in SVN

Summary:
On Windows, a diff may have "\n" newlines (from the file itself) but "\r\n" blocks (from svn).

NOTE: indents are funky since I edited this with Notepad++, I'll fix before landing.

Test Plan: Diffed an edit to a "\n" newline file on Windows in SVN.

Reviewers: btrahan, vrana

Reviewed By: vrana

CC: aran
Differential Revision: https://secure.phabricator.com/D2998
src/parser/ArcanistDiffParser.php