[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-03-13 21:49:19 CET

pll@lanminds.com writes:

> Hi,
>
> I'm trying to co a single file from an old rev into my current wc. I
> can't seem to figure out how to do this:

'svn checkout' only works on directories, not file.

Try 'svn copy -r 35 fileURL .'

The file will be sucked from the repository, added to your working
copy, and will be scheduled for addition. This is the standard way of
"resurrecting" a deleted file.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 13 21:50:54 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.