In SVN it's possible to commit to an external repository from a project WC. It's handy but can be very dangerous because it mixes up different things together. One can even commit to an external without being aware of that!
Create a new hook script that would forbid to commit to the current project AND to one of its external dependencies at the same time. It's one OR the other, but not both.
if the commit includes project files, forbid externals
if the commit includes externals, only 1 external is authorized at-a-time
if the commit includes 1 external, forbid any project files
In SVN it's possible to commit to an external repository from a project WC. It's handy but can be very dangerous because it mixes up different things together. One can even commit to an external without being aware of that! Create a new hook script that would forbid to commit to the current project AND to one of its external dependencies at the same time. It's one OR the other, but not both.