[...] > However, there are some technical limitations in the current merge > implementation, which prohibit it to be used outside of the merge > command, but the merge implementation can be split onto two files; the > merge itself and the "apply" tree-processor. > > I have a prototype of factoring-out the "apply" tree-processor from > merge. In general it seems to be working with most test cases passing. > Additionally, as you might already have seen, I committed some > improvements a while ago, which are related to this.
[...] > I am planning to do the following to implement binary patches: > > 1. Factor-out "apply" tree-processor from merge.c to another file of > private client API. [...] I just created a branch for this in r1922042 <https://svn.apache.org/r1922042>: branches/apply-processor <https://svn.apache.org/repos/asf/subversion/branches/apply-processor>. I am going to move some code from merge.c to merge_processor.c, and then resolve the issues and fix the tests. -- Timofei Zhakov