Hi Virgil,
I notice that Darcs 2.1.1 has the patch:
Thu Oct 30 18:55:08 CET 2008 David Roundy <droundy@darcs.net>
* make default be to --run-posthook and --run-prehook
which I think solves the problem. Here is the test I made for it, which I
intend to submit to our regression testing suite .
rm -rf R S # Another script may have left a mess.
darcs init --repo R # Create our test repos.
echo 'apply prehook echo prehook fired' >R/_darcs/prefs/defaults
darcs get R S
cd S
touch f
darcs add f
darcs record -lam 'Add f'
darcs push -a > log
grep 'prehook fired' log
If this is not quite the same thing, please let me know.
|