[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: Giovanni Bajo <rasky_at_develer.com>
Date: 2006-06-01 02:14:49 CEST

Alexey Neyman <alex.neyman@auriga.ru> wrote:

> 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.

Yes, that'd be great. OTOH, I don't think it's a good idea to have a format
that GNU patch believes to be a diff file. I'm not sure of the exact heuristics
used by patch, but we should avoid the conflicts.

Another good idea is something like "svnpatch", which knows also to add/remove
files from version control, and modify properties. Which would be the base for
something like "svn patch", as already seen in "svk patch".

Giovanni Bajo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 1 02:23:10 2006

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