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

Re: [PATCH] diff base->repos failed to trace a moved file

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-03-13 12:47:16 CET

On Mon, Mar 13, 2006 at 11:22:36AM +0000, Julian Foad wrote:
> From a high level point of view: why should comparing a directory show
> changes to a file in a different way from comparing the file?
>

Only because we don't support moves as a distinct logical operation;
the directory case is essentially a superset of the file case where we
additionally see the delete of the original file.

(alternative answer: it shouldn't, and won't, I hope, when we get
'real moves').

> From a low level point of view, "supports copyfrom" is the crucial phrase.
> I wonder what we mean by this.
>

Yes, me too. If you look in libsvn_wc/diff.c, you'll see the comment
"### TODO: Do we need to support copyfrom?". I'm not entirely sure,
but I suspect it might be the difference between reporting a file_changed
and file_added event for the copied files.

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 13 12:47:31 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.