Yes, you're right of course. Currently prehooks are run quite early,
before darcs has figured out anything about files and patches, so their
awareness of what's going on is very limited.
So this is an enhancement wish. I'd like more information to be made
available to prehooks, by whatever mechanism, so that they can be
smarter. This would let you eg set up automated acceptance criteria for
incoming patches.
|