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

Re: Post Commit actions?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-03-30 16:45:28 CEST

On 3/30/06, Mike Howarth <Mike.Howarth@mamasandpapas.com> wrote:
> I was wondering if anyone can help me.
> I've currently been working with Subversion locally and everything has
> been working great.
> I've then come to extend this to using subversion to keep my staged copy
> on a remote server in sync. I've hit some real problems though, just
> doing an update is really slow.
> I've done a bit of reading around and it seems to point to Subversion
> generally being slow across a network, this probably isn't helped by our
> internet connection either.
> The next thing I've looked at is creating a post commit hook that uses
> svnlook to get a list of files, looking on cpan there is a module for
> this.
> From here I could simply use perl to copy the files across accordingly.
> Am I reinventing the wheel, has someone already done this type of thing
> and are there any links to cover this type of stuff out there.

Why not use rsync to push any changes to the remote host? If you're
going across the general internet, you'll want to tunnel it through a
secure connection, but basically it was designed to do exactly this -
transfer only changes from point A to point B.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 30 16:46:35 2006

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

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