svnsvn-hooks

SVN post-checkout and post-update message


Is there a way to configure an Apache Subversion server to display a message after every svn checkout and svn update?

Context: After migrating our code base from SVN to Git, we made most of our SVN server read-only using pre-commit hooks, which also display a message pointing to the new git home.

We don't want to completely disable the SVN server quite yet, read-only operations svn co and svn up should still be doable. Is a way to display a message pointing to the new git home to the users still using the SVN server. Some kind of post-checkout and post-update hooks, but I don't think these exist.


Solution

  • Hooks always run on server side. Subversion does not provide server-side hooks that will show messages to users on client side after running read operations such as checkout or update. If you had control (you do not per your comment I need to do this on the server side (on which I have admin rights). I do not have access to the user computer over user computers you could install client side hook scripts in TortoiseSVN. But they will work with TortoiseSVN client only.