[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: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Wed, 22 Apr 2009 14:04:21 +0400

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...

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 22.04.2009, <13:56>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1858160
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-22 12:05:55 CEST

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