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

Re: svn commit: r34018 - in trunk/subversion: include libsvn_client libsvn_wc

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 05 Nov 2008 23:09:00 +0000

On Wed, 2008-11-05 at 23:34 +0100, Neels J. Hofmeyr wrote:
>
> Julian Foad wrote:
> > There's one other little "gotcha": as I noticed a few days ago, there
> > are cases where one of the diff producers opens a directory and a file
> > and then doesn't send any changes for the file. We haven't defined
>
> Interesting, why would they do that?

I saw when experimenting with "diff --summarize". The file had been
modified from content A to content B in r2, and then modified from
content B to content A in r3, so "diff -r1:3" was a null difference. The
diff producer did a file-open, then sent the before-and-after versions
to a textual diff routine, which produced... nothing. Then it did a
file-close.

That's hand-wavy but you get the idea.

- Julian

> "Input ... I need Input!"
> --- No. 5, classic 80s robot.
>
> ~Neels
>
> > whether that's an allowable mode of operation of the diff callbacks, but
> > given that it happens I think we might have to make the diff consumers
> > aware of it. But it's not a particularly ocmmon case, I think, so we're
> > probably OK to ignore it for now.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-11-06 00:09:18 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.