Darcs-Notify
view release on metacpan or search on metacpan
darcs-notify view on Meta::CPAN
F<_darcs/third-party/darcs-notify/old-inventory>.
=head1 USAGE
One way to use darcs notify is to just run it periodically. Since it
just compares the current list of patches against it's stored set it
can run any time. If there is nothing to report, nothing will happen.
However, typical usage is to install it into your darcs repo's post
hooks so that it runs automatically when someone pushes, pulls, or
unpulls some patches. To do this, edit your F<_darcs/prefs/defaults>
file (you might need to create it if it's not there already) and add
the following lines:
apply posthook darcs-notify <email>
apply run-posthook
pull posthook darcs-notify <email>
pull run-posthook
unpull posthook darcs-notify <email>
unpull run-posthook
That assumes B<darcs-notify> is in your path. If it is not, then put
its absolute path there. One technique is to place darcs-notify inside
the F<_darcs/third-party/darcs-notify> directory (you might need to create it if
you haven't run darcs-notify yet) and then use its relative path in
the F<_darcs/prefs/defaults> file:
apply posthook _darcs/third-party/darcs-notify/darcs-notify <email>
apply run-posthook
pull posthook _darcs/third-party/darcs-notify/darcs-notify <email>
pull run-posthook
unpull posthook _darcs/third-party/darcs-notify/darcs-notify <email>
unpull run-posthook
You should run B<darcs-notify> once manually on a repo before pushing
or pulling to the repo. It won't do anything but set itself up.
( run in 0.931 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )