Can I stop another developer from changing a file?
In RTC 4.0.4 I can lock a file to prevent other users from editing the same file. The documentation says that a "A resource that you have locked is displayed as an incoming pending change to other users." Unfortunately the Pending Changes window doesn't show anything for other users after I lock a file.
We can all however see the lock icon in Project Explorer, but a there is nothing to stop others from editing the file or even checking in changes to the file. Is there a better way of preventing other users from editing a file?
Accepted answer
This request has been made possible by the delivery of the 'Pessimistic Locking' feature in RTC 5.0.2.
Note: There are some limitations if editing files outside of the RTC rich clients.
For more information on this feature see:
New & Noteworthy: https://jazz.net/downloads/rational-team-concert/releases/5.0.2?p=news#pessimisticLocking
2 other answers
What you are looking for is an pessimistic locking which is not available in Team Concert (prior to RTC 5.0.2)
To be correct, a lock does not prevent others from editing but just from delivering the changes to a locked stream.
You might look and vote for that work item...