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

Re: svn cat broken by folder rename in repository

From: Stefan <steveking_at_tigris.org>
Date: 2004-08-27 17:14:14 CEST

François Beausoleil wrote:
[snip]

> I can't find it in Subversion's command help, but I believe there was a
> way to specify the peg revision, which the command line client
> automatically does when we use repository paths.

There are some new API's in 1.1.x which use a peg revision. But
svn_client_cat() doesn't have a "peg" part.

[snip]
> C:\wc>svn cat -r2 newtest.c
> text
> some more text

[snip]

> C:\wc>svn cat -r2 file:///repos/newtest.c
> svn: File not found: revision 2, path '/newtest.c'

This is what we're talking about: when using a working copy path, the
cat command works as if the wc revision is used as a peg revision. But
when using a repo URL, no peg revision (like HEAD) is used.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 27 17:15:59 2004

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