You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by et...@ntsys.fr on 2008/09/03 08:55:19 UTC

execute a script before commit

I want that a script be execute when I make a 'svn commit' and before  
the effective commit.
I now it can be done on the repository side but I found nothing  
similar on the client side.


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

Re: execute a script before commit

Posted by et...@ntsys.fr.
Thank you!

> You can, however, wrap the svn executable in a script of your own creation.
Done :-)

Emmanuel Trillaud




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

Re: execute a script before commit

Posted by Andy Levy <an...@gmail.com>.
On Wed, Sep 3, 2008 at 04:55,  <et...@ntsys.fr> wrote:
> I want that a script be execute when I make a 'svn commit' and before the
> effective commit.
> I now it can be done on the repository side but I found nothing similar on
> the client side.

Subversion does not have client-side hook scripts. You can, however,
wrap the svn executable in a script of your own creation.

TortoiseSVN (1.5 and up) has a provision for this but it's on a
per-client basis; you can't "push" those scripts from the server.

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