Search this site:

2009-03-22

Modify revision comments in SVN


As mentioned in the SVN book, transaction and revision properties are actually unversioned so it is possible to modify them. However this also means when you changed them the previous values are lost forever. That's why SVN has implemented some mechansim to protect these unversioned propertes.

In order to modify these properties, you need to add a Pre-revision property change hook (pre-revprop-change). You may follow general instructions at here (see the comments in the quoted source). If you are using VisualSVN then just right click on the repository, choose property and browse to the "Hooks" tab to make modification.

That is!


No comments:

Post a Comment

HTML Tags allowed (e.g. <b>, <i>, <a>)

Disclaimer

ALL CONTENTS AND INFORMATION IN THIS WEB SITE ARE PROVIDED "AS IT" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. THE ACCURACY AND AVAILABILITY OF THE CONTENTS, INFORMATION AND THE WEB SITE ITSELF ARE NOT GUARANTEED. THE AUTHOR TAKES NO RESPONSIBILITIES ON ANY COSTS OR DAMAGES (DIRECT OR INDIRECT) ARISING OUT OF OR IN CONNECTION WITH THE ACCESS, USAGE OR INABILITY OF USAGE OF THIS WEB SITE.