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

Re: Property diff producing wrong results...

From: David Glasser <glasser_at_mit.edu>
Date: 2007-03-19 15:05:45 CET

On 3/19/07, John Szakmeister <john@szakmeister.net> wrote:
> The attached script reproduces the problem. It basically sets
> svn:ignore to 'a', commits, and then sets svn:ignore to 'a\nb'. The
> resultant output was:
> Property changes on: .
> ___________________________________________________________________
> Name: svn:ignore
> - a
>
> + a
> b
>
>
> Notice that there seem to be a few things wrong. The +- a is indented
> from the rest of the diff, or rather b is not indented. But the real
> problem is that there should be just a '+ b' at the end.

Yeah, 'svn diff' doesn't actually do diffs for properties: it just
writes both full versions out with a single - and +. In my opinion it
would be great if it actually did real diffs for multi-line
properties. (For example, svn:ignore, or svk's svk:merge and
svk:mirror properties.)

--dave

-- 
David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 19 15:06:00 2007

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