1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-09-19 16:38:51 +02:00

Use new SVN format for all property changes

Test Plan: `svn diff`

Reviewers: nh

Reviewed By: nh

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D2799
This commit is contained in:
vrana 2012-06-19 14:16:18 -07:00
parent 23b3dd7e95
commit 450433dbae

View file

@ -403,6 +403,7 @@ final class ArcanistDiffParser {
$target = null;
$line = $this->nextLine();
$prop_index = 2;
while ($line !== null) {
$done = preg_match(
'/^(Modified|Added|Deleted|Index|Property changes on):/',
@ -410,7 +411,6 @@ final class ArcanistDiffParser {
if ($done) {
break;
}
$prop_index = 2;
$trimline = ltrim($line);
if ($trimline && $trimline[0] == '#') {
// in svn1.7, a line like ## -0,0 +1 ## is put between the Added: line