[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: Nicolas Goutte <nicolasg_at_snafu.de>
Date: 2005-06-06 12:36:00 CEST

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:
> >>> I have a seen that Subversion has a problem with finding old revision
> >>> of a moved file, for example:
> >>>
> >>> LANG=C svn log -r1
> >>> http://svn.collab.net/repos/svn/branches/1.1.x-r14063/doc/ README
> >>>
> >>> results in:
> >>>
> >>> svn: REPORT request failed on
> >>> '/repos/svn/!svn/bc/1/branches/1.1.x-r14063/doc/ README'
> >>> svn: '/repos/svn/!svn/bc/1/branches/1.1.x-r14063/doc/README' path not
> >>> found
> >>
> >> That file does not exist in that revision. Thus a 'not found' error.
> >> Exactly as expected.
> >
> > Well, it depends what you expect.
> >
> > On one side a "svn log" gives such a revision number and when you want to
> > do
> > anything with that revision number it does not work. That is not what I
> > expect. Sorry!
>
> Well, no *I* don't expect svn log to give me revision numbers that don't
> work, either. But I'm pretty sure there is no way you could have got svn
> log to tell you that branches/1.1.x-r14063 existed in r1.

Then at least the error message should be different. It should not be "path
not found" but something like "revision does not exist for path".

>
> I think you have tried to show us a minimal example of your problem, but
> have actually trimmed your actual problem away in trying to minimize the
> example, leaving behind a useless command.

No, I really tried to get a single old revision and at first was surprised by
the error. (The original case was on a file that was moved, as the module was
re-organized.)

Now that I have understood the logic behind it, I find that the error message
is misleading.

So perhaps my wish is a sort of --follow-life switch that follows moves for a
log.

Have a nice day!

>
> Max.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 6 12:39:23 2005

This is an archived mail posted to the Subversion Users mailing list.