Re: [fossil-users] TH1 Hooks.

2014-10-07 Thread Joe Mistachkin
Ron W wrote: > > What's in $::cmd_args ? Is it just the command line (or command URL)? > The command line arguments, just as they existed in the "g.argv" field at that point. It should be noted that the command line arguments _cannot_ currently be modified by the hook, only inspected. > > In co

Re: [fossil-users] TH1 Hooks.

2014-10-07 Thread Ron W
On Tue, Oct 7, 2014 at 12:06 PM, Joe Mistachkin wrote: > Then, you would normally need a "th1-setup" script, set via the "settings" > command or a ".fossil-settings" file. There would need to be a procedure > defined named "command_hook" (and/or "command_notify"), e.g.: > > proc command_

Re: [fossil-users] TH1 Hooks.

2014-10-07 Thread Joe Mistachkin
Andy Bradford wrote: > > If Iconfigure the FOSSIL_ENABLE_TH1_HOOKS(e.g. configure > --with-th1-hooks) what does that get me? I assume from the code that it > will call Th_CommandHook passing in the name and flags, but to what in > the TH1 environment? My guess is that I need