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

RE: svn cat on moved revisions

From: Ray Johnson <Rayj_at_ingenio.com>
Date: 2004-10-21 01:27:54 CEST

Oh. Bummer for me I guess... I'm working on a tool that access the
repository through a URL, so the working copy thing doesn't work too
well for me.

I gather there is no way to do this via just a URL? Kind of weird
(IMHO) that the command would work differently for a URL vs. a WC - but
I guess this would not be the only example of that...

Ray

-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@collab.net]
Sent: Wednesday, October 20, 2004 11:37 AM
To: Ray Johnson
Cc: users@subversion.tigris.org
Subject: Re: svn cat on moved revisions

On Oct 20, 2004, at 12:45 PM, Ray Johnson wrote:
>
> svn cat -r 16
> http://svn.subview.ingenio.com/Subview/trunk/SubView/Default.aspx.cs
> Returns this error:
> svn: PROPFIND request failed on
> '/Subview/!svn/bc/16/trunk/SubView/Default.aspx.cs'
> svn: '/Subview/!svn/bc/16/trunk/SubView/Default.aspx.cs' path not
> found
>
>

Ah, sorry for the confusion. The following-copy stuff in 1.1 isn't yet
documented in the book.

In general, it works like this:

    * 'svn subcommand -rX URL' performs the command on the literal
coordinates (X, URL).

    * 'svn subcommand -rX working-copy-path' acts differently:
            - starts at (base-rev-of-path, URL-of-path)
            - traces history backwards to revision X, gets 'old' URL
            - runs command on (X, old-URL)

So in short: run your 'cat -r16' command on a working-copy-path, not a
URL.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 21 01:28:14 2004

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.