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

Re: Prevent update while program is running

From: Kurt Pruenner <leak_at_gmx.at>
Date: Thu, 09 Apr 2009 09:42:23 +0200

webpost_at_tigris.org wrote:
> Now I'm searching for a possibility to prevent updates while a
> process (Labview in this case) is running, so the user is forced to
> close Labview first before he makes an update!

Now, I haven't tried it, but I'd say that's what TortoiseSVN's client
hook scripts are for - in your case you'd need to define a start-update
hook that checks whether the Labview process is running and returns an
error in that case; that should prevent updating nicely before the
update dialog is even shown.

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
.......It might be written "Mindfuck", but it's spelt "L-A-I-N".......
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1610384
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-04-09 10:29:51 CEST

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.