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

branches in jazz

Newbie question.

I understand workspace and streams.

I have to work in this fairly complex project along with a few other developers.

We have to share code between ourselves before we merge the changes back into the stream.

Can I use my workspace as a 'branch' ? ie, can many developers work against the same workspace? When we are ready, we can deliver our changes to the stream and merge the differences?

Or is there a concept of branch in Jazz?

TIA.

0 votes



4 answers

Permanent link
Yes, you can use your workspace as a "personal branch".

Only one developer can make changes to a given workspace (only the owner
of the workspace can make changes to it).

You can accept changes directly from another workspace (instead of
getting changes from a common stream) by adding the other workspace as
one of the "flow targets" of your workspace, and then "accept"
change-sets from that other workspace, just as you accept changes from a
stream.

But you cannot "deliver" your changes to a workspace owned by another
user (they would have to "accept" your changes).

But streams are very lightweight objects in Jazz, so you might want to
just set up a separate stream for that sharing ... the advantage of a
stream is that the "deliver" operation tells your team members that
"this is ready to be picked up". If they accept directly from your
workspace, they will pick up random stuff that you might not be ready
for them to see/use.

Cheers,
Geoff

anandsan wrote:
Newbie question.

I understand workspace and streams.

I have to work in this fairly complex project along with a few other
developers.

We have to share code between ourselves before we merge the changes
back into the stream.

Can I use my workspace as a 'branch' ? ie, can many developers work
against the same workspace? When we are ready, we can deliver our
changes to the stream and merge the differences?

Or is there a concept of branch in Jazz?

TIA.

0 votes


Permanent link
Geoff

Thanks.

If I understand you right, we can use a 'stream' as a 'branch' between many developers, correct?

Now, after I am done with my work on my private stream, is it an easy process to merge my changes back into the parent stream?

anand

0 votes


Permanent link
Now, after I am done with my work on my private stream, is it an easy process to merge my changes back into the parent stream?


It's all about flowing change-sets. So when you are done on your side/private stream, you change your "flow-target" using the "Change Flow Target..." action in the pending changes view. Then you accept, resolve conflicts, then deliver your changes back to the main stream.

Jean-Michel Lemieux
Jazz Source Control Team

0 votes


Permanent link
Thanks Jean.

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: May 07 '08, 1:08 p.m.

Question was seen: 4,427 times

Last updated: May 07 '08, 1:08 p.m.

Confirmation Cancel Confirm