justinmassiot / svnhooks

Framework and example hook scripts for SVN (Subversion)
Apache License 2.0
1 stars 0 forks source link

New hook: Avoid a commit which mixes externals with the current project #4

Open justinmassiot opened 7 years ago

justinmassiot commented 7 years ago

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.