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

Re: Start update hook

From: Peter McNab <mcnab_p_at_melbpc.org.au>
Date: 2006-11-24 01:25:47 CET

Simon Large wrote:
> Hi folks,
>
> Can someone explain the difference between the start-update and
> pre-update client hooks? Why would you want to differentiate, even
> with update-to-revision?
>
> Also, any use cases of these hooks would be good to add to the docs.
>
> Simon
>
Hi Simon.
I'm not writing from a position of knowledge. The following is just my
guess at the distinction and a possible use case.

You have some filtering/validation going on on the pre-update hook. The
hook may even force the update to be abandoned.
After this process has done it's stuff you want notification if the
impending update is to occur and so use the Start-Update hook.

There may be different parameters passed into each hook which could also
give an insight to their respective potential uses.

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Nov 24 01:25:56 2006

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.