[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 08 May 2009 18:33:18 +0200

dmichel76_at_googlemail.com wrote:
> Hi All,
>
> 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...)

Next time, use the users mailing list: the dev list is about development
*of* TSVN, not *with* it (or using it).

That said: have a look at the client side hook scripts in TSVN. Maybe
one of them might provide what you need:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-hooks

Stefan

-- 
       ___
  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=2115705
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-05-08 18:34:55 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.