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

Re: Pushing Files from Subversion

From: Bryan Donlan <bdonlan_at_gmail.com>
Date: 2004-11-30 00:01:13 CET

On Mon, 29 Nov 2004 17:35:29 -0500, pete@holidian.com <pete@holidian.com> wrote:
> Disclaimer: I'm new to source control in general and Subversion in specific -- I
> have read the FAQs and searched around in the archives... please be gentle.
>
> [I'm not even convinced that this feature is available in any of the source
> control tools around today, but I've heard such good things about Subversion I
> thought I would check here first.]
>
> My situation is this: I have a custom Web CMS (in PHP/MySQL) installed and
> running on four servers -- presently when I make an update, I have to manually
> upload the affected files to the four servers and, truth be told, I'm lazy...
> so it's a pain.
>
> I'd like to be able to make the change and then push those changes to all of the
> necessary servers. Does Subversion have the capacity to do this (or anything
> remotely similar)? Is this a feature even offered by source control tools
> today? If no to both of those, is there anywhere else I could look, or am I
> just SOL?
>
> It seems to me that this ought to be a common enough problem to have a solution,
> but I don't seem to be looking in the right places.

You can use a post-commit hook to run whatever program or script you
want after every commit. This script can then push the changes to the
other servers.

-- 
bd
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 30 00:03:59 2004

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