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

Re: Newbie questions: How to check out just one file, etc.

From: Carole E Mah <Carole_Mah_at_brown.edu>
Date: 2005-01-24 03:45:35 CET

Ryan Schmidt wrote:

> Given my introductory description of what I hope will prove to be a
> reasonable way to work on web site projects with Subversion, I
> recommend you check out all of trunk. You only need to do this once.
> From then on you can keep your working copy up-to-date by
> periodically using the svn update command to resynchronize it with
> the current development version. If you have concerns of disk space,
> then you might want to invest in additional hard drives. :-) They
> shouldn't be that expensive. Get yourself 3 or 4 250-GB drives and a
> hardware RAID card and you should be all set. With RAID 5, you even
> get speed benefits, and protection if a disk fails.

Unfortunately, disk buying decisions are not up to us, so we're pretty
stuck with the disk space we already have. Users' home directories are
"not supposed to be used" for much of anything, according to the sysAdmins.

To save space, I'm going to recommend we not import the gigabytes of
image and video data into Subversion at all, just the PHP and HTML
files. After all, that stuff only needs to be backed up once to the
Solstice backup tapes.

> As to the paths, you'll have to program your project so that it
> works regardless what directory it's in, using relative filesystem
> paths when accessing libraries or include files, and using absolute
> paths when dealing with things like a document upload directory,
> which you probably won't want to duplicate on a per-user basis.

What about hard-coded BASEREFs? Would those help?

>
> I hope I've been able to help. It's taken me awhile to wrap my head
> around the concepts too, and I'm still not done reading The Book, but
> I think, slowly, I'm getting it, and it's going to be good for our
> company, and I hope it will be for yours too.

Thank you Ryan, very helpful indeed to hear from someone in a similar
situation. I'll have to read up on what a 'post-commit hook' is, as that
sounds especially useful.

carole

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 24 03:50:52 2005

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