Fwd: [darcs-users] Execute Automatic command with each commit

Max Battcher me at worldmaker.net
Fri Feb 24 20:56:12 UTC 2006


Nathan Gray wrote:
> On Thu, Feb 23, 2006 at 04:22:11PM -0800, Jason Dagit wrote:
>>  Look at posthooks in the darcs manual.  If you have any problems with
>> them let me know I should be able to help.
> 
> I would like to know which files have been updated with the record, so
> that I can pass that information to my posthook script.  I vaguely
> remember something about storing that info in environment variables.

If the record was successful you can count on:

darcs changes -s --xml-output

For a list of changed files in the <summary>

-- 
--Max Battcher--
http://www.worldmaker.net/
"History bleeds for tomorrow / for us to realize and never more follow 
blind" --Machinae Supremacy, Deus Ex Machinae, Title Track




More information about the darcs-users mailing list