From: vrana Date: Tue, 19 Jun 2012 21:16:18 +0000 (-0700) Subject: Use new SVN format for all property changes X-Git-Tag: conduit-6~244 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=450433dbae8d3e23f7f3b0c7765ed2eb15ea5a7a;p=arcanist.git 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 --- 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