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

Manage multiple working copies on remote server with local repository

From: n00b <craigslist.antiabuse.email_at_gmail.com>
Date: Thu, 12 Jun 2008 01:54:30 -0700 (PDT)

Hi All,

I'm new to the group and browsed around quickly but felt quickly
inundated. I'm hoping someone here can help me, or (if I'm posting
this in the wrong place) recommend a place where my question can be
better answered.

I have a small PHP application that is running on a dedicated server.
Each client that uses the application gets a different subdomain: ie.
Client1 - https://www.mydomain.com/client1, Client2 - https://www.mydomain.com/client2,
etc.

Up until recently, when I made changes to the local development copy
of this application, I always just copied all the files to the client
subdirectories. As changes become more regular and I grew to have more
than 5 clients, this became a hassle.

A friend pointed me to Subversion and said that while I'd not be using
it for what it's MEANT to be used for, it could solve my issue. He
said that I could have a local repository running on my Windows XP PC,
and have the client subdirectories be working copies.

I have subversion set-up on my PC and on the server, which is Redhat
EL 4. I have a local repository set-up on the local PC. I just need to
do the following, but don't know how:

1. Set-up all the client directories as new working copies.
2. Set-up the local repository (or working copies) to never overwrite
client-specific code and folders
3. Check-in the repository's HEAD revision to all the working copies

Like I said, I may not be entirely certain that this is the best way
to roll out new versions of the application to the different client
subdirectories so if I'm missing something or if you have a better
solution to my dilemma, please let me know.

Also, I suppose I need to set-up an SVN User that has permissions to
check-in remote files. And I need to ensure that the writeability of
the folders doesn't change (Some need to be readible only, some need
to be 777, etc.) and that the user/group for the folders stays the
same.

Is this possible? Can anyone with a few moments to share please
provide some advice?

Thanks for your time and membership into your group.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-12 22:15:41 CEST

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

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