Let SVN accept revision propchanges

The following message appears if you try to modify properties (e.g. the log message) while the propchanges hook is not enabled.

Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook

This hook is nothing else than an executable script located in repos/hooks/ that exits with 0 or 1 if defined conditions are not fulfilled. You can remove the file suffix tmpl from pre-revprop-change.tmpl1 if the template already exists or you create it from the scratch.

For Unix systems the script looks like

#!/bin/sh
exit 0;

and for Windows it’s

@echo off
exit /B 0
  1. On Windows the suffix shouldn’t be removed but changed from tmpl to bat instead.
  • Delicious
  • Digg
  • Technorati Favorites
  • Reddit
  • LinkedIn
  • Facebook
  • Spurl
  • Twitter
  • Webnews
  • YiGG
  • MySpace
  • Yahoo Bookmarks
  • FriendFeed
  • Google Bookmarks
  • LiveJournal
  • Share/Bookmark

Leave a Comment

Your email is never published nor shared.

(required)