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

Re: Diff of property mods: better format?

From: Alexey Neyman <alex.neyman_at_auriga.ru>
Date: 2006-05-31 20:13:42 CEST

While at this, I'd suggest thinking over the following point: what
would the diff for a removed property look like? And what would the
diff for a property replaced with an empty string look like?

I think, in a perfect world we'd have something like this:

Index: foo/bar.c (property 'svn:keywords' changed)
======================================================
@@ -0,3 +0,3 @@
  Date
- Revision
+ Id
  Author
Index: foo/baz.c (property 'svn:keywords' added)
======================================================
@@ -0,0 +0,1 @@
+ Id
Index: foo/box.c (property 'svn:keywords' deleted)
======================================================
@@ -0,1 +0,0 @@
- Id

That is, from the "Index: " line one could decipher exactly what
happened to a property.

Regards,
Alexey.

-- 
Do you sleep with your window unlocked? Be seeing you...
                        -- Arilou, SC2
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 31 20:14:09 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.