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

Re: diff without property changes?

From: Giovanni Bajo <rasky_at_develer.com>
Date: 2006-05-30 21:41:34 CEST

Alexey Neyman wrote:

> I can develop a filter I'd run such patches through, in order to
> delete those "property changes" chunks: Once the "^Property changes"
> regexp matches, skip the line before it and continue skipping lines
> until the "^Index: " regexp matches. This will work for
> svn:ignore/svn:executable properties, ok. But, provided that
> user-defined properties can contain any user-provided text, this is
> unreliable.

In fact, this is a problem on its own. Even if we have
a --no-property-changes or similar option to svn diff, the current output is
still *very* unfriendly to machine parsing. Specifically, it does not follow
the GNU diff/patch convention of "quoting" text lines with two spaces at the
beginning, so that it is impossible to understand where the property ends.

I believe this ought to be fixed.

-- 
Giovanni Bajo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 30 21:52:25 2006

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

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