Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Is it a bug or by design?

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Back to topic list

Re: Is it a bug or by design?

Author steveking
Full name Stefan Küng
Date 2010-05-06 10:14:41 PDT
Message On 06.05.2010 13:30, Serge Tumanyan wrote:
> Hello, Simon.
>
>>> 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 am checking out the WC and using post update hook - that means that WC
> should already exist, shouldn't it?
>
>> 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.
>
> Right now it doesn't and this fact is rather unpleasant to me.

Can you file an issue for this please?
Just add a feature request that the hook script(s) should also get
invoked for switch/checkout.

Stefan

--
        ___
   oo // \\ "De Chelonian Mobile"
  (_,\/ \_/ \ TortoiseSVN
    \ \_/_\_/> The coolest Interface to (Sub)Version Control
    /_/ \_\ http://tortoisesvn.net

« Previous message in topic | 4 of 7 | Next message in topic »

Messages

Show all messages in topic

Is it a bug or by design? tumanyan Serge Tumanyan 2010-05-06 03:12:55 PDT
     Re: Is it a bug or by design? simonlarge Simon Large 2010-05-06 03:59:22 PDT
     Re: Is it a bug or by design? tumanyan Serge Tumanyan 2010-05-06 04:30:41 PDT
         Re: Is it a bug or by design? steveking Stefan Küng 2010-05-06 10:14:41 PDT
     Re: Is it a bug or by design? tumanyan Serge Tumanyan 2010-05-06 10:38:14 PDT
         Re: Is it a bug or by design? steveking Stefan Küng 2010-05-06 10:42:29 PDT
     Re: Is it a bug or by design? tumanyan Serge Tumanyan 2010-05-06 13:33:41 PDT
Messages per page: