From 450433dbae8d3e23f7f3b0c7765ed2eb15ea5a7a Mon Sep 17 00:00:00 2001 From: vrana Date: Tue, 19 Jun 2012 14:16:18 -0700 Subject: [PATCH] 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 --- src/parser/ArcanistDiffParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/ArcanistDiffParser.php b/src/parser/ArcanistDiffParser.php index 6e6f5ee6..0d73872e 100644 --- a/src/parser/ArcanistDiffParser.php +++ b/src/parser/ArcanistDiffParser.php @@ -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 -- 2.43.0