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

Patch ping, 5 years later: removing properties

From: Alexey Neyman <stilor_at_att.net>
Date: Thu, 3 Nov 2011 12:05:34 -0700

Hi all,

Sorry for a long delay :) 5 years ago, I sent a patch to the mailing list that
would allow to specify what to include/exclude from the diff output:

  http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=742594

There were two problems this patch tried to address:

1. There was no way to exclude properties from the diff output.

2. There was no way to obtain a list of modified/added/deleted files and
whether the content and/or properties have been modified.

I got a response from Ben Collins-Sussman that the patch I sent is superseded
by --summarize option which was implemented in the trunk (which would
eventually become 1.4):

  http://svn.haxx.se/dev/archive-2006-06/0202.shtml

Actually, --summarize only addresses the issue #2, but not the issue #1. As to
issue #1, ability to disable property diffs is still missing from Subversion.
Common wisdom suggests running the diff through 'filterdiff --clean':

  http://stackoverflow.com/questions/2755848/how-do-you-get-subversion-diff-
summary-to-ignore-mergeinfo-properties
  http://stackoverflow.com/questions/402522/is-there-a-metadata-exclusion-
filter-for-the-svn-diff-command

But this is still unreliable: if property text includes a diff-like chunk, it
will go through.

What is the sentiment about implementing --no-property-diff option to 'svn
diff'? I can implement it if there's agreement such option is needed.

Regards,
Alexey.
Received on 2011-11-03 20:06:12 CET

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.