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

Re: Failed to find old revision of moved file

From: Kevin Puetz <puetzk_at_puetzk.org>
Date: 2005-06-11 17:09:02 CEST

David Faure wrote:

> On Monday 06 June 2005 00:45, Max Bowsher wrote:
>> Nicolas Goutte wrote:
>> > On Sunday 05 June 2005 23:18, Max Bowsher wrote:
>> >> Nicolas Goutte wrote:

> Well, what about this then?
> svn log http://svn.collab.net/repos/svn/branches/1.1.x-r14063/doc/README
> shows that there was a revision number 2558 on that file, right?
>
> svn diff -r1:2558
> http://svn.collab.net/repos/svn/branches/1.1.x-r14063/doc/README can even
> show you the patch of that revision.
>
> Now, how do I get the log of that revision only?
>
> svn log -r2558
> http://svn.collab.net/repos/svn/branches/1.1.x-r14063/doc/README svn:
> REPORT request failed on
> '/repos/svn/!svn/bc/2558/branches/1.1.x-r14063/doc/README' svn:
> '/repos/svn/!svn/bc/2558/branches/1.1.x-r14063/doc/README' path not found
>
> Why does "svn log" show a revision, and a log, which can't be retrieved
> independently with svn log -r<rev> ? I know that the file moved since that
> revision, but that's a detail that one usually doesn't care about when
> looking at history. If I want to know why a given change was made, it
> doesn't matter to me where the file was when that change was made.

Right, but at present it matters to svn :-( The log has to be retrieved
under the pathname that the file had at that time.

> This problem affects KDE a lot, because everything got moved (reorganized)
> after the cvs2svn conversion, so any trip back in history hits this "no
> such revision" bug in svn log -r.

This is happening because of issue 2287
(http://subversion.tigris.org/issues/show_bug.cgi?id=2287). To fix it, svn
log ought to take a peg revision (like diff does), and then the renames
wouldn't mess it up. As the default peg revision is BASE (or HEAD if not in
a wc), it would even default right for this case then.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 11 17:11:19 2005

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.