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

Re: svn diff or properties

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-01-20 16:58:33 CET

David Mankin <mankin@ants.com> writes:

> 1) (already discussed before) I want the diff to just list differences
> on the current directory, not on the files in it. I need "svn diff
> . --depth=0".

Hmmm, what does 'svn diff --non-recursive' do? Is that depth 0 (dir
propchanges only), or depth 1 (includes children)?

> 2) This is what the property diff looks like:
> Property changes on:
> ___________________________________________________________________
> Name: svn:ignore
> + classes
> dist
> docs/javadoc
> tags
>
> From what I read in the book it sounds like there's no way the
> maintainer can apply that patch. I don't even fully know how to read
> it. Wouldn't it be more practical to send a diff of the
> .svn/dir-props file? Then patch could apply it directly. Or maybe
> I'm missing something?

That strategy won't work, since the props files are just hash-dumps,
and thus the entries can be in any random order.

We still don't have a patch format that can express property diffs or
tree rearrangements. This has long been a goal, but no one has got a
Round Tuit yet. In theory, it would be nice to design a patch format
that allows us to interoperate with other free systems, like arch.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 20 17:01:53 2003

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