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

FW: Single File Checkout?

From: Jonathan Wilson <Jonathan.Wilson_at_walshwestern.com>
Date: 2005-01-26 09:58:05 CET

We have close to 1450 programs in this one directory, which will be
moved into sub directories as it becomes more organised. I know this is
ridiculous but like everything it takes time to fix. A cull is planed
to remove a lot of the redundant code, but first it has to get into SVN
so we'll have a complete backup & historical copy. Then we can sort out
files by moving them into the correct subdirectory. When completely
re-organised it will be branch into new project. But.....

In the mean time development must continue, our environment has 12
programmers. With SVN this would mean each one would require their own
complete copy of the source (1450 programs). This is inefficient as it
wastes file-system space (Programmers * Source Disk Usage). Then
there's the issue of finding a program amongst the other 1450. Again
this is our own fault, but I'm quite surprise such a highly rated SCCS
like SVN can't handle a single file checkout.

I know I can get the contents of a file, but I want to be able to update
& then modify the SVN copy after the development is complete. It would
be simpler to mange peoples' home directories if they only ever had the
couple of programs they needed, which are the ones they're presently
working on.

After thinking about it I could create a workaround by making a
subdirectory within our SVN repository for each SVN User. Then before a
checkout they move the program they want into this SVN home directory.
Once work is complete they then move it back into it's old position
(i.e. setup an attribute which contains it's original location when it
was initial moved into the users' home SVN directory).

Does anybody else have any ideas???

- Jonathan

-----Original Message-----
From: Johan Appelgren [mailto:johan.appelgren@gmail.com]
Sent: 26 January 2005 08:20
To: users@subversion.tigris.org
Subject: Re: Single File Checkout?

On Wed, 26 Jan 2005 07:53:35 -0000, Jonathan Wilson
<Jonathan.Wilson@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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 26 10:00:11 2005

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

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