My subversion repository has a pre-commit hook that requires all files to have a SVN property before its commit.
I am setting this property manually making each addition of files and folders a 2-step commit.
How to automate this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look at the Automatic property setting section in the TortoiseSVN documentation.
You can either locally configure each client as already explained by Josh, or alternatively put the configuration in the repository with the
tsvn:autopropsproperty. The latter only works for TortoiseSVN clients though.The command line client doesn’t support server-side configuration of autoprops. There are some change requests related to this, e.g. issue 1974 and issue 1813.