diff --git a/src/applications/repository/worker/commitchangeparser/svn/PhabricatorRepositorySvnCommitChangeParserWorker.php b/src/applications/repository/worker/commitchangeparser/svn/PhabricatorRepositorySvnCommitChangeParserWorker.php index ecebe270f6..6dfa9bc3f8 100644 --- a/src/applications/repository/worker/commitchangeparser/svn/PhabricatorRepositorySvnCommitChangeParserWorker.php +++ b/src/applications/repository/worker/commitchangeparser/svn/PhabricatorRepositorySvnCommitChangeParserWorker.php @@ -1,7 +1,7 @@ '; - if ($line !== $expect) { + $expect = '//'; + if (!preg_match($expect, $line)) { throw new Exception("Expected '{$expect}', got {$line}."); } $mode = 'list';