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

Re: usage of svn_wc_diff

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 8 Dec 2010 17:24:33 +0200

JamieEchlin wrote on Tue, Dec 07, 2010 at 10:39:28 -0800:
>
> Hi,
>
> Firstly I hope this is the right forum, it doesn't seem appropriate for the
> dev forum.
>

Yes, users@ is the right forum.

> Has anyone got an example of using svn_wc_diff (or 2/3/4 etc), preferably
> from python? I can find zero examples on the interwebs. I can't work out
> what I need to pass from the minimal doxygen docs...
>

The C API svn_wc_diff6() has a 41-line doc string. (but it's not
released yet, so refer to svn_wc_diff5()'s documentation)

Although you might prefer to use svn_client_diffN() instead. (currently
N=5 in trunk)

> Basically I'm trying to do a working copy diff... I know I can call svn but
> I need this to work in an env where svn(.exe) might not be present, and also
> it doesn't give me enough control for what I'm trying to do, which is
> basically property diffs.
>

svn diff --depth=empty **/

?

(where the shell expands **/ to "all directories under the current
directory"; find(1) could be used instead of this syntax)

> cheers, jamie
>
> --
> View this message in context: http://old.nabble.com/usage-of-svn_wc_diff-tp30399137p30399137.html
> Sent from the Subversion Users mailing list archive at Nabble.com.
>
Received on 2010-12-08 16:27:01 CET

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.