You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jonathan Wilson <Jo...@walshwestern.com> on 2005/01/26 07:53:35 UTC

Single File Checkout?

I'm trying to get my SVN to checkout a single program from a directory
which contains hundreds of files.  I know this isn't the most ideal
setup, but for the moment it will have to do, as we'll reorganise as we
move forward.

I had problems with SVN saying it will only do a directory, i.e. 
> $ svn checkout file:///db/svn_test/ldev/testsystem/progs/cim.i
> svn: URL 'file:///db/svn_test/ldev/testsystem/progs/cim.i' 
> refers to a file, not a directory

Is SVN limited so that it can only work at a directory level???  Any
help on this or known work a rounds would be great.


- Jonathan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Single File Checkout?

Posted by Martin Struwe <ma...@von-oertzen.org>.
Hi Jonathan,

1)
Maybe you can checkout all files and remove all unwanted
Files to save Diskspace.
Than you can use "svn update *" to get only the remaining
files.
With "svn update new_file" you can add new files to your
working copy.

2)
If you use apache, you can use authz_svn_mod to give
every Programmer different rights on the same directory.
http://svnbook.red-bean.com/en/1.1/ch06s04.html#svn-ch-6-sect-4.4.2

But I'm afraid, you have to specify for every File the
access of all users:

[calc:/trunk/all_projects/project_one]
harry = rw
sally =
[calc:/trunk/all_projects/project_two]
harry =
sally = rw

Regards, Martin

Jonathan Wilson schrieb, Am 26.01.2005 08:53:
> I'm trying to get my SVN to checkout a single program from a directory
> which contains hundreds of files.  I know this isn't the most ideal
> setup, but for the moment it will have to do, as we'll reorganise as we
> move forward.
> 
> I had problems with SVN saying it will only do a directory, i.e. 
> 
>>$ svn checkout file:///db/svn_test/ldev/testsystem/progs/cim.i
>>svn: URL 'file:///db/svn_test/ldev/testsystem/progs/cim.i' 
>>refers to a file, not a directory
> 
> Is SVN limited so that it can only work at a directory level???  Any
> help on this or known work a rounds would be great.
> 
> - Jonathan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Single File Checkout?

Posted by Johan Appelgren <jo...@gmail.com>.
On Wed, 26 Jan 2005 07:53:35 -0000, Jonathan Wilson
<Jo...@walshwestern.com> wrote:
> I'm trying to get my SVN to checkout a single program from a directory
> which contains hundreds of files.  I know this isn't the most ideal
> setup, but for the moment it will have to do, as we'll reorganise as we
> move forward.
> 
> I had problems with SVN saying it will only do a directory, i.e.
> > $ svn checkout file:///db/svn_test/ldev/testsystem/progs/cim.i
> > svn: URL 'file:///db/svn_test/ldev/testsystem/progs/cim.i'
> > refers to a file, not a directory
> 
> Is SVN limited so that it can only work at a directory level???  Any
> help on this or known work a rounds would be great.

http://subversion.tigris.org/faq.html#single-file-checkout

Why is it a problem to checkout a directory just because it contains
hundreds of files?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org