Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is there any notion of Checkout Reserved in Jazz?

Hi all,
this post actually concerns "non mergeable" files (like Word Documents etc...)
Here's the problem we ran into:

- Assumptions:
- Jazz works without any "Check out" feature.
- several file format forbid merges of contents (*.doc, *.xls, *.vsd, *.pdf, etc...)

- Consider that 2 users modify the same file for which no merge of content is possible:

1) What occurs when the 2 users try to deliver their modifications in Jazz?

The last file that was committed will overwrite the previous one without actually including its change set: if those files were changed in parallel, there's not any mechanism that will allow the users to notice that and to collaborate on that file. It's gonna be the last version accepted by the Stream's integrator that will be loaded by the rest of the team.

2) Is there any proposed work around for the files that we can't merge?

Thanks!

0 votes



One answer

Permanent link
You are correct that there is no reserved checkout or locking at the file level in Jazz. Originally, we wanted to ensure that our design was friendly to being distributed, meaning that you may not always have access to the central repository. In those cases being restricted by a lock to modify a file doesn't make sense.

> 1) What occurs when the 2 users try to deliver their
> modifications in Jazz?

The first deliver succeeds and the second will fail with a conflict. The user can inspect/talk to ther other developer via the integrated chat, and decide how to resolve. For binary files (although MS Word does support comparing/merging documents) like images, the second developer would have to pick his or the one that was delivered.

> The last file that was committed will overwrite the
> previous one without actually including its change set

No. Deliver will never ever overwrite on a conflict. It will fail and the user will have to resolve.

We have plans post 1.0 to introduce locking policies for teams which would like to be more proactive about conflicts on certain file types.

Jean-Michel Lemieux
Jazz Source Control Team

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 16 '08, 1:07 p.m.

Question was seen: 4,435 times

Last updated: Apr 16 '08, 1:07 p.m.

Confirmation Cancel Confirm