added code to ignore a line beginning with a backslash in parsing the diff output

This commit is contained in:
hyung-hwan 2015-02-09 05:16:51 +00:00
parent af0ff51997
commit a8f5e0a30e

View File

@ -399,6 +399,14 @@ class SubversionModel extends Model
switch ($mod)
{
case "\\":
// ignore it .
// subversion seems to procude a like like this:
// \ No newline at the end of file
//
$index--;
break;
case "-":
$listing[$index]["rev1diffclass"] = "diffdeleted";
$listing[$index]["rev2diffclass"] = "diff";