Avoid attempting a vc cache sync in the middle of other processing, in the post-commit-hook. Fixes #2902 (second part).
Authored by: cboos 2007-01-08
Parent: [r4509]
Child: [r4511]