Alexander Klenin wrote:
> On Jan 20, 2008 1:16 AM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>
>> Alexander Klenin wrote:
>>
>>> I propose:
>>> 1) Allow %MESSAGEFILE% parameter in Start commit hook.
>>> The hook should write an initial message text to that file.
>>>
>> The start commit hook is called before the dialog is even shown, and it
>> usually has to wait for the hook script to finish.
>>
>
> That is the point. The hook would display issue list from the tracker,
> and compose an appropriate message based on selected issues.
> The message then gets shown in commit dialog.
> This is almost what OP wanted, except issue selection will come
> before commit dialog, not after it.
>
>
Good idea, but I think I see a snag: I generally only compose my comment
once I've seen the list of changed files in the commit dialog. I suspect
that a lot of others do the same. This means that I'd like to see the
list of issues next to the list of files.
On the other hand, your point about avoiding using COM is well-taken.
TortoiseProc itself gets given the paths to some temporary files. I'm
coming around to have this implemented in this way. I'll need to see how
the start-commit client-side hook is "registered". If it makes sense to
use something for the issue tracker integration hook, then that'll be
less confusing from the user's point of view when they have to install
it. It also makes it much simpler to implement the hook in alternate
languages (i.e. a simple command-line program opens us to VBScript or
even batch files).
On the good side, my MSDN subscription finally got activated. On the bad
side, I'm not going to get a chance to look at this until next weekend,
now...
Cheers,
Roger.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-01-20 16:48:41 CET