This is great for the darcs daily command script, like any other command line program. It is also great for darcs interactive script commands, but where it gets fragile because these interactive hints are updated and change frequently in newer releases of darcs. Therefore, if at all possible, make the command non-interactive, for example, using the -a / - all flag. Clicking and pulling is easy, here is a regular click that I run from / etc / crontab:
*/15 * * * * darcsden cd /home/darcsden/darcs/darcs-reviewed; darcs pull -a http://darcs.net/reviewed >/dev/null
but watch out for things that can prevent successful non-interactive push or pull:
- conflicts, especially with unrecorded changes
- Incorrect file / file / file permissions
- stray _darcs / lock file remaining after abnormal completion
source
share