baa88412b9
The diff parser code was rewritten for clarity and speed and now handles a couple of ugly cornercases, like SVN's property change output and single change chunks, much better. Since the path parsing was unified as well, the SCM interface gained a new method `getPathStripLevel()` which determines how many path components need to be shoven off a file name for the SCM to form a valid path in the workspace (similar to patch(1)'s --strip option). Fixes issue 627. Automated tests follow. |
||
---|---|---|
.. | ||
data | ||
0001-Some-configuration-variables-have-been-added-in-orde.patch | ||
TestDiff.php | ||
TestFileUtil.php | ||
TestGit.php | ||
TestIssue.php | ||
TestMonotone.php | ||
TestProject.php | ||
TestSource.php | ||
TestSyncGit.php | ||
test-diff-remove-oneline.diff | ||
test-diff-view.html | ||
test-diff.diff | ||
test-log.txt |