Question

I want to enforce policy, when one should always update before commit. Generally I like the idea of doing this with server side set of hooks to guarantee that unmatched commit will be prevented.

In order to know, when was the last update and last commit for a particular user, I have to track both commits and updates on server. It's ok with post-commit, but I just can't find a way to add server side post-update hook. No problem with client side though, but I don't want to rely on clients setup with that check.

It there a server side post-update hook, or update event is always processed solely by client?

Was it helpful?

Solution

Post-update hooks doesn't exist in Subversion, but they aren't needed in your case:

  • There aren't reasons to require update WC in the case of missing intersection between files in transaction and changed by earlier commits, not existing in WC
  • If such intersection exist, commit will be blocked automatically and developer must update and merge foreign changes before own commit
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top