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

Re: Feature Question

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2006-05-19 22:09:20 CEST

Lübbe Onken wrote:
>
> Chris,
>
>> Thanks for the response. Is there anyway I can get SVN to run commands or
> run an executable just before a check-in?
>
> The subversion pre-commit hook is your friend. It runs on the server and can
> do a lot of nice stuff for you.

You need to run the script client side so that it will change the
resource file in your WC. Also, you need to run it *after* the commit,
otherwise the version you compile into the resource file will not be the
one you are committing now.

There is an open issue for client side hooks on TSVN.
http://tortoisesvn.berlios.de/issues/?do=details&id=137

Other than that, you will have to do it yourself in a batch file or similar.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri May 19 22:17:12 2006

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

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