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

Re: Is it a bug or by design?

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Thu, 6 May 2010 11:59:20 +0100

On 6 May 2010 11:12, Serge Tumanyan <tumanyan_at_mail.ru> wrote:
> Hello, All.
>
> I has tryed to use TSVN client hooks and ran into a trouble:
> I have added a post update hook and assumed that this one should work after
> the checkout, switch and update commands but found out that it works only
> after the update command. Is this by design or it is a bug? If this by
> design - can the hooks for checkout and switch commands be added to TSVN? It
> reduces productivity when you can not recompile the WC after the checkout in
> one step or after switching branches immediately and need to start a false
> update process to start a script. The missing hooks for the switch command
> tortures me especially much because I usually use switch command really
> often for my development tasks.

Why checkout? The hook scripts have to be set up for a specific WC, so
if you have not checked out a WC yet the hook does not exist.

I think a switch operation could just use the corresponding update
hooks because update is really just a special case of switch with no
path change.

Simon

-- 
:       ___
:  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=2604152
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-05-06 12:59:25 CEST

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