The "bug?" may just be my misunderstanding; here it is, in the form of a
question for the Subversion Dev Team to give a crack at it:
Q: Is it possible for a HOOK (start/pre/post-commit) to access WC
Add/Delete commands (via "svn add" and "svn delete")?
Bkgnd: From this thread conversation with Simon Martel, it appears that
a HOOK *cannot* modify the working copy from which it was instantiated.
Running hook scripts *outside* of a WC "svn commit" command is not a
problem; but based on the WC's "commit" it seems to not execute
ADD/DELETE commands. "svn up" works fine from within a hook script,
though.
In the end, it may not be a "bug" but a limitation of architecture. If
so, then I will just schedule the hook script as a cron-job on the
machine.
Thanks.
Partager