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

Re: Cannot "cat" a replaced file

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-09-28 12:00:16 CEST

On Sep 28, 2005, at 11:37, Thomas Börkel wrote:

> We have REPLACED a file (don't know, how we did that) in the
> repository. Now
> we cannot "cat" the content of an older revision of that file with svn
> commandline client, however we can save that older revision with
> Tortoise.

[...]

> svn cat -r 11752
> "http://kasrv026:8080/svnp2plus/Entwicklung/branches/Temp/OnlineUpdate
> Tests/WebServer/Admin/SQL/tableTab2.aspx"
> svn: Kann
> 'http://kasrv026:8080/svnp2plus/Entwicklung/branches/Temp/OnlineUpdate
> %20Tests/WebServer/Admin/SQL/tableTab2.aspx' in Revision 11752
> nicht im
> Projektarchiv finden
>
> It says, it cannot find the file in revision 11752 in the repository.
>
> As I said, Tortoise can.

You need to use "peg revision" syntax.

svn cat http://kasrv026:8080/svnp2plus/Entwicklung/branches/Temp/
OnlineUpdate%20Tests/WebServer/Admin/SQL/tableTab2.aspx@11752

TortoiseSVN is likely using this syntax internally, which is why it
works there.

You can read about peg revisions in the book:

http://svnbook.red-bean.com/en/1.1/ch07s03.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 28 12:02:15 2005

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