How to force valid properties & values to be set on all files being added/updated in SVN?

StackOverflow https://stackoverflow.com/questions/5316744

سؤال

Is it possible to force a user who is either committing a change or adding a new file to set valid values for svn:keywords (e.g. Date, Author, & URL)?

It would be great if this behavior could be included in a pre-commit hook, preferably written in python.

هل كانت مفيدة؟

المحلول

check this out: http://mr-ats.tigris.org/svn/mr-ats/trunk/src/hooks/property-check/

login is: guest /[no password]

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top