SVN Server And SVN Client : Update muliple server locations using svn client?

89 Views Asked by At

I am a newbie to svn thing and know nothing about it, want some basic info or pointers about how to update multiple locations on server, here is my situation: I have a web application and this web application runs on three different domains. These domains are created on same server. like http://www.domain-one/webapp, http://www.domain-two/webapp and http://www.domain-three/webapp. So i have setup the web app on three domains like the above urls and now problem is this when i update the code on my local system i have to update all these three locations and i update all these three locations manually via FTP. Is there any way where i can just update my code and do update automatically or just using any svn client to (Like tortoise svn) do udpate.(I use windows 7 and sever running linux with apache software).Can install any required software on server if needed. Any help or pointers are greatly appreciated in advance.

2

There are 2 best solutions below

2
On

Preface

Publishing (or delivery) your code to some point outside repository|working copy is not task of SVN (any SCM) per se - it's job of delivery tools, which can|must interact with VCS

Face

  1. If webapp on every domain is Working Copy for the some tree of repository, you can svn up every WC in post-commit hook
  2. If webapp doesn't related to SVN at all (some unversioned set of files), you can svn export into different targets three times.
0
On

I found the CI (continuous integration for php) tools work fine for me as they give me more control over many things like auto testing, debugging and auto upload files to server location.

I used couple of them and still learning. PHPCI and TeamCity from php strom. Hope this answer will give some pointers to others.