How to lock SVN trunk except for merges from branch?
问题 I'd like to prevent developers working directly on the trunk. I'm aiming to enforce all developers off the trunk and to work on there own branches until CI tests are cleared. They then have to merge from the trunk to their branch (to pick up latest changes), run and pass tests before they merge back to the trunk. Is there any rules for this style of SVN usage? 回答1: Limit trunk commits to a bot. That bot can do the conflict-free merge and commit to trunk. I've done just that; it's called