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

Re: Question about moved/renamed files

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-11-26 19:20:41 CET

On Tue, 2003-11-25 at 14:05, Trevor Harrison wrote:
> I have moved a file from a subdirectory under my project to a different
> subdir.
> I then svn rm'd the old directory.
> The log still (correctly) shows the history of the file, but diff's such as:
> svn diff -r N:M newname
> fail with:
> svn: Filesystem has no item
> svn: 'http://svn.host.tld/trunk/project/subdir/newname' was not found in
> the repository at either revision N or M
> How do I do diffs in this instance?

This is issue 1093... "svn diff doesn't follow rename/copy history".

The workaround is to run 'svn log -v' on the file, and find out the
"old" path in revision N. Then run 'svn diff oldURL@N newURL@M'.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 26 19:30:16 2003

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.