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

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

  •  30-07-2022
  •  | 
  •  

Вопрос

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top