On Oct 14, 2005, at 3:29 AM, Jonathon Mah wrote:

New --posthook option. Jason Dagit implemented a much requested
feature, the posthook option. It runs a given shell command if
the darcs command exits successfully, and is most useful when
placed in the "defaults" configuration file.


Posthook is really great, and allows lots of new possibilities (one of which I'll post shortly). I think by default the posthook should _not_ run when a command is cancelled (e.g. cancelling during an interactive record).


I don't have the code in front of me, but I think all we would have to do is changed the exit code to non-zero when a command in cancelled. Should be easy to fix, but don't expect me to do it as I have my hands full at the moment. It would be a nice simple thing for someone that wants to get started with contributing to darcs.

Thanks,
Jason

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to