betitall
betitall

Reputation: 817

How to prevent Merging in TFS

I have a parent project that is branched to many dependent child projects. I do not want to allow changes in the child projects to be merged back into the parent. i.e. I only want to allow a 1 way merge (parent to child).

How do I accomplish this?

Upvotes: 1

Views: 962

Answers (2)

fuzzbone
fuzzbone

Reputation: 2030

If you can't set security permissions as William Bartholomew suggests - another approach would be to write a custom check-in policy. The problem with this is that it CAN be overriden (but you could receive notifications when that occurs)

Upvotes: 0

William D. Bartholomew
William D. Bartholomew

Reputation: 744

Easiest way is to only grant read permissions to the parent branch. To merge you need to check-out/in so without these permissions it's not possible to merge from child to parent. They will still be able to merge from parent to child though.

Upvotes: 1

Related Questions