I'm currently trying to make use of the new API svn_client_patch() in
TortoiseMerge and TSVN. I got it working already, but when I started
testing I found that it doesn't apply patches that can be applied cleanly.
In the TSVN repository, we have a few test files which show the problem.
should be applied to the folder
That patch file can be applied without any problem since the files to
patch weren't changed after the patch file was created. The original
patch implementation in TortoiseMerge can do it just fine, but
The patch contains modifications to three files:
-> this file gets deleted by svn_client_patch, which is ok
-> this file results in three applied and one rejected hunk
the result as it *should* be is shown in image1, the result
from svn_client_patch is shown in image2
-> this empty file should get one new line added, but instead
that hunk is rejected and the file stays empty.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2010-05-21 22:28:18 CEST