SVN automatic lock setting [locked]

Source: Internet
Author: User
Autoprops
The running configuration area feature of subversion. Many global configuration parameters of subversion are stored in the running configuration area. The running configuration area is actually a directory, in my XP operating system, the directory is "C:/Documents and Settings/rock/Application Data/subversion", where rock is my user name, in this directory, the config file is some properties of client operations, while the servers file is the server-side attribute. We need to use the config file for this part.
Open the config file in the running configuration area, remove the "#" And spaces before "enable-auto-Props = yes", and find the "[auto-Props]" section, add the following attributes and save them to automatically add the attributes to be locked for all files:
"* = SVN: Needs-lock = x"
After this setting, all files added through "SVN Add" and "SVN import" will have the "SVN: Needs-lock" attribute, in this way, all newly added files enter the "Lock-edit-unlock" model.

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.