Jason Dagit wrote:
On 2/24/06, Max Battcher <[EMAIL PROTECTED]> wrote:
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>
posthook will only run if record was successful, but changes will show
you all the patches. You won't even have a way to select the most
recent patch set. For example, if the posthook is for apply you
won't know how many patches were applied and it will only run once.
For record, as in the original question you can count on --last=1, which
I forgot to include.
--
--Max Battcher--
http://www.worldmaker.net/
_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users