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

Re: Need to check a file out, but want never to check it back in !

From: Anders Munch <ajm_at_flonidan.dk>
Date: Fri, 5 Nov 2010 16:09:16 +0100

Richard M Willis [mailto:RichardW_at_pulsar-pm.com] wrote:
> Yes, that is the client-side hooks what I mentioned earlier. As I
said,
> it doesn't work for me. I expect just to point that hook at some batch
> file or other (which may or may not be something that has come out of
> the registry) but it just flashes a DOS box and does nothing. I know
> these batch files run with an empty environment, but it should do
> *something* surely.

Client-side hooks don't run with an empty environment, that's only on
the server side.

I don't know why the standard output of a client-side script doesn't
show, but that doesn't mean the script didn't run.

> <later>
> Oh, great ! I've just realised that client-side-hooks are now machine-
> global; I want them per project !
> </later>

Imagine for example what would happen if you set the post-update
script to a batch file containing the single line:
%5\post_update

and then started checking in post_update scripts into different
project folders.

regards, Anders

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2679196

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-05 16:09:26 CET

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.