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

Re: How to use my custom made python hook-script for SVN with TortoiseSVN ?

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Fri, 8 May 2009 16:35:37 +0100

2009/5/8 dmichel76_at_googlemail.com <dmichel76_at_googlemail.com>:
> I have recently wrote a little python script that allows me to do
> certain tasks after each commit automatically. The script is really
> simple to use as it can be used instead of the "normal" svn command.
>
> It simply wraps the svn command and also do the extra stuff that needs
> to be done. This "extra stuff" could simply be in a totally separate
> program/script, but then it would be easy to forget this step by
> potential commiter which is what I'd like to avoid.
>
> Now, that works well if the developer are using the command line
> prompt to use svn but we all know that, Windows users prefer clicking
> rather than typing (understanding though with such a "crap" command
> line prompt!)... so here is my question: How can I make my script
> available for TortoiseSVN ? Can I pinpoint TortoiseSVN to use my
> python script rather than the normal svn command ? Any other idea
> welcome of course ?
>
> (Of course, the best way would be to had a post-commit hook on the SVN
> server, but, if the project is hosted on Sourceforge for instance,
> this is not possible...)

Use client-side hooks in TortoiseSVN.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2115680
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-05-08 18:32:58 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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