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

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

  •  30-07-2022
  •  | 
  •  

Question

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?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top