You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Trevor Harrison <tr...@harrison.org> on 2003/11/25 20:05:34 UTC
Question about moved/renamed files
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?
-Trevor
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Question about moved/renamed files
Posted by Ben Collins-Sussman <su...@collab.net>.
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