You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by n00b <cr...@gmail.com> on 2008/06/12 08:54:30 UTC

Manage multiple working copies on remote server with local repository

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@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Manage multiple working copies on remote server with local repository

Posted by Blair Zajac <bl...@orcaware.com>.
n00b wrote:
> 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.

This mailing list is for the development, not the use of Subversion.

Please use the users@subversion.tigris.org mailing list for questions on the use 
of Subversion.  Subscribe by sending an email to 
users-subscribe@subversion.tigris.org.

Regards,
Blair

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