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

RE: @REV vs -r REV

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Wed, 22 Apr 2009 12:11:30 +0200

[Sorry; second mail.. back to the list now]

> -----Original Message-----
> From: Andrey Repin [mailto:anrdaemon{_AT_}freemail.ru]
> Sent: woensdag 22 april 2009 12:04
> To: Giulio T; users_at_subversion.tigris.org
> Subject: Re: @REV vs -r REV
>
> Greetings, Giulio T!
>
> >> >> []$svn cat -r HEAD http://svn.darkdragon/repos/trunk/file1@22
> >> >> svn: Unable to find repository location for
> >> >> 'http://svn.darkdragon/repos/trunk/file1' in revision 25
>
> >> >> []$svn cat -r 23 http://svn.darkdragon/repos/trunk/file1@22
> >> >> svn: Unable to find repository location for
> >> >> 'http://svn.darkdragon/repos/trunk/file1' in revision 23
> >> >>
>
> > To me it seems obvious that svn can't find the file. You're asking for a
> > revision (with the -r option) that is past the peg revision (specified
by
> > the @). It's like saying, what did you look like when you were 20 if you
> > consider yourself 15 now?
>
> Comparing SVN to yourself is not going to help well, unless you've been
> resurrected already :)
>
> > Or maybe I got the idea of operation and peg revisions completely wrong.
>
> If you take a closer look at the script attached to my previous post,
you'll
> see that file1_at_1 and file1_at_2 is a two different files.
> Completely different.
>
> If you want translation of my construction to "normal english", it would
read
> svn cat "Show me
> -r HEAD current content
> file://repos/file1_at_1 of the file that originating from /file1 in
> revision 1
>
> Because SVN, unlike CVS, *DO* track file renames, it SHOULD find it... but
it
> couldn't...

Subversion tracks the old names of files (where was this path copied from),
but currently it can't answer the question to what was this file renamed.

There are some ideas on adding this forward tracking for file copies and
moves, but I don't think somebody is actively working on integrating this
support right now. (Please correct me if I'm wrong).

        Bert

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1858183

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-22 12:13:15 CEST

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.