On Jan 30, 2006, at 10:30 PM, Olivier Thauvin wrote:
This patch make darcs running a script for each patch apply by 'apply'
command.
Very nice.
If exists, _darcs/prefs/onapply is called with patch hash as first
argument. The goal is clearly to send a mail when a new commit is
done on a
main repository. This cannot be done properly with standard
posthook as he
don't remain which patch was applied during darcs call.
The _darcs/prefs/onapply script should be executable.
Is it possible to make this script part of the already existing
prefs? Or better yet, could all commands which work on patches pass
the patch hashes on the command line? I think this would give an
overall consistency.
On the whole I like it, perhaps others like the changes I suggest and
they are relatively easy to implement?
Thanks,
Jason
_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel