You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by nikhil gupta <ng...@hotmail.com> on 2007/07/30 07:21:35 UTC
Need to checkout a single file from SVN
Hi,
I need to checkout a single file from SVN but I'm not able to. I'm using SVN 1.4.2. Searched the internet for this but found that I can not checkout a single file. This facility is not available at all...
This seems to be a glaring miss if that is true. Do I have to checkout the whole folder/directory, even if I need a small document?
--Nikhil
_________________________________________________________________
Sign in and get updated with all the action!
http://content.msn.co.in/Sports/FormulaOne/Default
Re: Need to checkout a single file from SVN
Posted by B Smith-Mannschott <bs...@gmail.com>.
On 7/30/07, nikhil gupta <ng...@hotmail.com> wrote:
[snip]
> Do I have to checkout the whole folder/directory, even if I need a small
> document?
>
yes.
Perhaps you could compensate by organizing your repository so that you don't
have so many unrelated files together in one directory.
--
// Ben Smith-Mannschott
Re: Need to checkout a single file from SVN
Posted by Toby Thain <to...@smartgames.ca>.
On 30-Jul-07, at 4:21 AM, nikhil gupta wrote:
> Hi,
>
> I need to checkout a single file from SVN but I'm not able to. I'm
> using SVN 1.4.2. Searched the internet for this but found that I
> can not checkout a single file. This facility is not available at
> all...
>
> This seems to be a glaring miss if that is true. Do I have to
> checkout the whole folder/directory, even if I need a small document?
If using http(s) access via Apache module, you can always get the
contents of a single repository item by its URL.
But as Ben says, if you're doing this often, you may want to rethink
your repo layout or workflow.
--Toby
>
> --Nikhil
>
> Sign in and get updated with all the action! Formula One
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
AW: Need to checkout a single file from SVN
Posted by Felix Gilcher <fe...@exozet.com>.
nikhil gupta <ma...@hotmail.com> schrieb am Montag, 30. Juli 2007 09:22:
> Hi,
>
> I need to checkout a single file from SVN but I'm not able
> to. I'm using SVN 1.4.2. Searched the internet for this but
> found that I can not checkout a single file. This facility is
> not available at all...
>
As others have mentioned, this is currently not possible, however you can export a single file. The result won't be a working copy though and you will not be able to commit any changes.
> This seems to be a glaring miss if that is true. Do I have to
> checkout the whole folder/directory, even if I need a small document?
>
What may seem like a glaring miss is a deliberate design decision by the svn team. Among the reasons is the fact that svn needs some place to store its working copy informations and these reside in a hidden folder inside the working copy - that why the working copy needs to be at least one folder. The upcoming sparse directory support may help solving the issue...
> --Nikhil
>
>
> ________________________________
>
> Sign in and get updated with all the action! Formula One
> <http://content.msn.co.in/Sports/FormulaOne/Default>
regards
felix
--
Felix Gilcher
Head of IT Development
Exozet Berlin GmbH
Rotherstraße 20
10245 Berlin
E-Mail: felix.gilcher@exozet.com
URL: www.exozet.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org