subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Gilcher <felix.gilc...@bitextender.com>
Subject Re: Q: Command to get a file from a particular revision
Date Thu, 18 Feb 2010 13:33:10 GMT
Hi, 

as the error message says, you cannot check out a single file. The smallest unit that can
be checked out is a directory. You can either check out the parent directory (possibly using
sparse checkouts to limit what items you pull) or use svn cat -r <rev> <url/to/file>.
However, svn cat will not create a working copy so you can't check in your changes.

felix

On Feb 18, 2010, at 2:21 PM, Manickavel, Senthil wrote:

> Hi,
>             What’s the command to get a file from a particular revision? I tried with
“svn checkout”. It takes only the directory URL.
>  
> D:\>svn checkout -r 27240https://Build.net/RAD/rad.profile.install .
> svn: URL 'https://Build.net/RAD/rad.profile.install' refers to a file, not a directory
>  
> With Regards,
> Senthil Kumar M
>  
> 
> The information contained in this message may be confidential and legally protected under
applicable law. The message is intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction
of this message is strictly prohibited and may be unlawful. If you are not the intended recipient,
please contact the sender by return e-mail and destroy all copies of the original message.

--
Felix Gilcher

Bitextender GmbH
Paul-Heyse-Str. 6
D-80336 München

Amtsgericht München, HRB 174280
Geschäftsführer: David Zülke, Florian Clever


Mime
View raw message