subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <s...@elego.de>
Subject Re: "svn diff" works for added files in working copy, but not for previous revision
Date Thu, 29 Jul 2010 10:42:44 GMT
On Wed, Jul 28, 2010 at 09:48:33PM +0000, Bob wrote:
> Hi,
> When I do "svn diff file1" on a file that I just added to my working copy since
> the last commit, it prints a diff that shows the entire file being added.
> However, if I had a file that was added in a previous revision (say 42), and I
> try to do "svn diff -c 42 file2", it doesn't work. It gives the error:
> svn: Unable to find repository location for 'file2' in revision 41
> 
> Of course, it is true that the file did not exist in revision 41. But all I want
> is to see the same diff information as I get from a working copy, i.e. a diff
> that shows the added file in revision 42. Is there a way I can do that?

Known bug: http://subversion.tigris.org/issues/show_bug.cgi?id=2873

Does not look like anyone is working on it at the moment.
But it needs to be fixed.

Stefan

Mime
View raw message