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

Re: [RFE] Re: rename and diff

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2007-02-13 04:10:02 CET

On 2007-02-12 09:46:14 -0600, Dave Grundgeiger wrote:
> Yes, you're right. If I do this:
>
> svn add newFile.txt
> svn diff
>
> I get output, but if I do this:
>
> svn copy oldFile.txt newFile.txt
> svn diff
>
> I get no output, even though the status on newFile.txt is "Added."
>
> Including --notice-ancestry on the diff made no difference.

This is the problem. IMHO, with --notice-ancestry, "svn diff" should
consider ancestry for newFile.txt, i.e. it should notice that it has
been copied from oldFile.txt, and as there hasn't been any change, it
should output nothing (this is the current behavior, which is correct
in this case). But now, if --notice-ancestry is not given, "svn diff"
should compare newFile.txt with the old newFile.txt version, and as
newFile.txt (under that name) is new, it should output the diff like
"svn add"; but it doesn't, and I think this is a bug.

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 13 04:10:31 2007

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.