Subversion: prevent local modifications to one file from being committed?

前端 未结 13 685
名媛妹妹
名媛妹妹 2020-12-01 04:17

I have a Subversion working copy where I made some local modifications to one file. The modifications are only relevant to me, I do not want to commit them. (The version in

13条回答
  •  死守一世寂寞
    2020-12-01 04:57

    You can use a pre-commit hook. In the hook use svnlook author to see if you are the one committing the changes. If so, use svnlook changed to see if you are changing one of the forbidden files.

提交回复
热议问题