It's all about the answers!

Ask a question

Is it possible to lock some files in the stream?


jon chen (461715) | asked May 12 '08, 11:55 p.m.
retagged Oct 06 '17, 4:08 p.m. by Ken Tessier (84117)

If I modify some files in my repository workspace, can I lock it in the stream? So, before I deliver them to the stream, the other people can not deliver them before me.

Accepted answer


permanent link
Jean-Michel Lemieux (2.5k11) | answered May 13 '08, 8:49 a.m.
JAZZ DEVELOPER
edited Oct 05 '17, 6:20 p.m. by David Lafreniere (4.1k7)

Yes, the ability to lock files was added in RTC 2.0.
Jean-Michel Lemieux
Jazz Source Control Team

David Lafreniere selected this answer as the correct answer

Comments
David Lafreniere commented Oct 05 '17, 6:21 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

Also, in RTC 6.0.2 we added a feature that lets you lock entire streams and components to prevent deliveries to the files in those streams or components. Stream and component locks work in a similar manner to file locks but apply to the entire stream or the entire component in a stream. When a stream or component is locked, any attempted deliveries by users who do not own the lock will fail with an appropriate error message. The user that holds the lock can still perform deliveries to the stream. A lock does not only prevent deliveries, it also prevents any operation that affects the files in the locked component or stream. For example, a component replace is also prevented.

Your answer


Register or to post your answer.