[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] issue 1493 - use libsvn_diff for diffing props

From: Daniel Näslund <daniel_at_longitudo.com>
Date: Fri, 24 Jul 2009 20:07:12 +0200


This is my first attempt as a Subversion coder. Please be nice to me!

It works for patch(1) but I haven't tried it on any other patch programs.

Some background on the subject:

/ Daniel Näslund
Fix part of issue 1493: Property diffs/merge should use libsvn_diff.
For properties I have removed the diff headers and replaced the @@-characters
with ##.

(output_unified_flush_hunk2): Added parameter for choosing delimiter, for
instance '##' instead of '@@'.

(svn_diff_mem_string_output_unified2): Added parameter for choosing if the diff
should be formatted as a property diff, '##' as delimiters.

(output_unified_flush_hunk2): Declaration
(svn_diff_mem_string_output_unified2): Declaration

(append_eol): Appends an end of line character if missing.

(display_prop_diffs): Use libsvn_diff for diffing properties.


Received on 2009-07-24 20:42:57 CEST

This is an archived mail posted to the Subversion Dev mailing list.