SCM resource lock alternative
Is there a way to lock binary resources, as in SVN for example. (in my case ODT documents).
I know that Jazz "philosophy" is merge oriented, but practically merging ODT documents is tedious regarding to text merge.
Currently, my solution is to warn guys through chat or mail ...
Do you have other suggestions or experimented solutions ?
Frederic
Accepted answer
In RTC-2.0, there is a "lock" operation that you can apply to a
particular versioned file in the context of a particular stream. This
functionality is available in the 2.0-Beta1 release, so you can start
playing with it now.
The Eclipse UI will then annotate a locked file with a "locked by xxx"
annotation. Also, it will prevent anyone other than the locker from
delivering a change to that file in the specified stream.
Note that this does not prevent the divergence (since a user is not
prevented from modifying the file, or checking in the change), but the
GUI annotation should be more effective than chat or mail.
Cheers,
Geoff
Comments
Geoffrey's answer is perfectly acceptable for a question that was pre RTC 2.0.
Also, a feature related to this was delivered in RTC 5.0.2.
See:
Pessimistic Locking:
New & Noteworthy: https://jazz.net/downloads/rational-team-concert/releases/5.0.2?p=news#pessimisticLocking