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

Re: checking out an old rev?

From: Tobias Ringstrom <tobias_at_ringstrom.mine.nu>
Date: 2003-03-14 12:14:43 CET

pll@lanminds.com wrote:

>I've tried merge, but I think I'm screwing that up too:
>
> svn merge -r 35:48 ./wiki.pl .
> svn: RA layer request failed
> svn: REPORT request failed on /svn/centera_web/trunk/cgi-bin/wiki.pl
> svn: The REPORT request returned invalid XML in the response: Unknown XML\
> element `error (in DAV:)'. (/svn/centera_web/trunk/cgi-bin/wiki.pl)
>
>So, how to I get a file in my wc (which is at rev 48) back to the
>file I had in rev 35? :)
>
>
I think this is the same problem I had yesterday. Basically you cannot do

    svn merge -r 35:48 wiki.pl

but you have to do

    svn merge -r 35:48 wiki.pl wiki.pl

Is that a bug?

With regards to you original problem, if you need to (temporarily)
switch to an older revision of a file you can use update:

    svn update -r 35 wiki.pl

Note that the revision is not sticky as in CVS, co a "svn update" in the
current directory or a parent directory will revert to HEAD.

/Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 14 12:15:35 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.