简体   繁体   中英

How to allow to edit a commited log message in only one directory in Subversion

I have a repository with a dozen of projects.

I would like to allow to edit committed log messages just from one project (that where I work) for specific company policy questions.

Can I allow the edit just in one directory (and sub-directories recursively)? Or just for entire repository? If Yes, how can I do that?

You can write pre-revprop-change hook (not pre-commit hook as specified in question tags) and check that:

  1. changed only svn:log message

  2. all modified paths belong to project

if so - allow rev prop change.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM