[darcs-users] Fwd: Execute Automatic command with each commit
Nathan Gray
kolibrie at graystudios.org
Fri Feb 1 01:56:21 UTC 2008
On Thu, Jan 31, 2008 at 05:15:41PM -0500, David Roundy wrote:
> If you're interested in darcs record, why not just add to your
> _darcs/prefs/defaults
>
> record --run-posthook
> record --posthook darcs annotate -p . -s | mail -s 'new record' foo at bar
>
> or something to that effect?
That would work for record, since there is only one patch. However,
where it is trickier is with apply, where there may be several patches.
So in my scenario, I have a central development repo that generates HTML
documentation from source code that is pushed to it. I would like to
only generate documentation for files that are affected by the push,
rather than all files in the repo. Somehow my documentation generating
program needs to be told which files to process via the posthook.
-kolibrie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080131/d3960de8/attachment.pgp
More information about the darcs-users
mailing list