[darcs-devel] Control flow in apply_cmd

Nathaniel Gray n8gray at caltech.edu
Sat Jul 29 21:45:20 PDT 2006


Hello again,

As you probably know by now, I'm trying to enable the passing of
environment variables from darcs commands to posthook scripts.  My
specific desire was to pass a PatchCount variable from 'darcs apply' so
that a concise log message could be easily generated for each push.
However, looking at apply_cmd leaves me at a loss as to how *any*
posthook gets run after it executes.  The function ends with "exitWith
ExitSuccess", which AFAIK means game over.  Can somebody enlighten me as
to how the posthook gets invoked?

Thanks,
-n8

PS: Please CC me with replies.

-- 
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->





More information about the darcs-devel mailing list