SVN modify comments of submitted versions

Source: Internet
Author: User

After submitting the file in SVN, the comments are incomplete or not clear enough, and you want to modify the comments. After the View Project history dialog is modified, the following error occurs during submission:
Repository has not been enabled to accept revision propchanges;
Ask the Administrator to create a pre-revprop-change hook
Obviously, this is a problem with SVN server settings. The version cannot be modified after submission. You need to add a hook on the server to Allow Log modification. The server I used is the visual SVN server in windows. Find the pre-revision property change hook under the hooks tab on the database properties page and double-click to modify its content.

Enter the following content in the text box:

12345678
Set repos = "% 1" set REV = "% 2" Set User = "% 3" set propname = "% 4" set action = "% 5" If % action % = = "M" (if % propname % = "SVN: log "(exit 0) echo" Changing revision properties % propname % is prohibited "> & 2 exit 1


Then, click OK.

SVN modify comments of submitted versions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.