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

Re: [PATCH] svn diff --summarize

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-02-01 01:52:56 CET

On 1/31/06, Ben Collins-Sussman <sussman@red-bean.com> wrote:
> On 1/31/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> > A while back we added summarize versions of the svn_client_diff
> > functions, to give you a summary of what changed without actually
> > displaying the deltas.
>
> Can you refresh my memory?
>
> At the moment, 'svn diff' won't show things like directory additions
> or removals, because the common unifed patch-format has no way of
> expressing such things. So the client-side editor vtable (being
> driven by the server) treats directory addition & removal as
> non-events.
>
> When we added the 'summarize' ability to our internal API, did this
> behavior change? In other words, does your patch below actually show
> directory events?

Honestly, I'm not sure. I haven't tried it.

/me goes to try

Yep, for a revision that deletes a directory you get a single call to
your summary callback that indicates that the directory was deleted.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 1 01:53:20 2006

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.