You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mike Howarth <Mi...@mamasandpapas.com> on 2006/03/30 14:18:58 UTC

Post Commit actions?

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.

Re: Post Commit actions?

Posted by Andy Levy <an...@gmail.com>.
On 3/30/06, Mike Howarth <Mi...@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