On the 'xpatch' branch: Add API functions for creating xpatch files, but
write constant text block for now. Then invoke those functions from the
cmdline when executed with --xpatch argument.

$ svn diff --xpatch
<?xml version="1.0" encoding="UTF-8" ?>
<xpatch>
  this is an xpatch
</xpatch>

* subversion/include/svn_client.h
  (svn_client_diff_xpatch,
   svn_client_diff_xpatch_peg): Declare functions.
* subversion/libsvn_client/diff.c
  (svn_client_diff_xpatch,
   svn_client_diff_xpatch_peg): Implement functions; They will require
   do_diff() local function later to drive the processor.
* subversion/svn/diff-cmd.c
  (svn_cl__diff): Use xpatch API when invoked with appropriate option.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/xpatch@1925683 13f79535-47bb-0310-9956-ffa450edef68
3 files changed