Storing file permissions in Subversion repository

前端 未结 12 1294
情话喂你
情话喂你 2020-12-01 20:57

How do you store file permissions in a repository? A few files need to be read-only to stop a third party program from trashing it but after checking out of the repository t

12条回答
  •  日久生厌
    2020-12-01 20:59

    Locking would not solve this problem. Locking stops others from editing the file. This is a third party application which gets run as part of the build process that tries to write to a file - changing it - which breaks the build process. Therefore we need to stop the program from changing the file which is simply marking the file read-only. We would like that information to be held in the repository and carried across checkins, branches, etc.

提交回复
热议问题