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

Can I set the file back to a previous version?

Hi

Let's say I want to discard all new changes and set this file back to a previous or even early version. How can I do this?

I assume discard change set is no an option because usually we change many files in one change set.

In ClearCase, we can open the version tree and retrieve any older versions, but in RTC there is no version tree to open.

Thanks
Jirong

0 votes



4 answers

Permanent link
Hi

Let's say I want to discard all new changes and set this file back to a previous or even early version. How can I do this?

I assume discard change set is no an option because usually we change many files in one change set.

In ClearCase, we can open the version tree and retrieve any older versions, but in RTC there is no version tree to open.

Thanks
Jirong
You can undo a change from an active change set. Once it has been completed, you cannot undo any changes. If you want to load the version from a previous change set, you can do that from the file's history.

0 votes


Permanent link
Right click on the file in the change set, and select "show history" (or
if the file is in an editor, right click on the editor and select "Team
-> Show_History). That will open the History view on the file, form
which you can select the version you want.

Cheers,
geoff

On 11/18/2011 4:38 PM, hujirong wrote:
Hi

Let's say I want to discard all new changes and set this file back to
a previous or even early version. How can I do this?

I assume discard change set is no an option because usually we change
many files in one change set.

In ClearCase, we can open the version tree and retrieve any older
versions, but in RTC there is no version tree to open.

Thanks
Jirong

0 votes


Permanent link
Right click on the file in the change set, and select "show history" (or
if the file is in an editor, right click on the editor and select "Team
-> Show_History). That will open the History view on the file, form
which you can select the version you want.

Cheers,
geoff


Thanks, guys.

This way we can select a previous version and open the file. This is same as in ClearCase.

Is there a way to replace the current version with a previous version? Users have been asking for this in CC too.

Thanks
Jirong

0 votes


Permanent link
If the change set that created the current version contains only that
version, then you can replace the current version with the previous
version by discarding that change set. But if that change-set modifies
multiple versions, you cannot roll back just that file. Work item 59688
requests the ability to "split" a change set, so you can move this
change into it's own separate change set (and then you could roll back
the change to just that file). Please feel free to add a comment to
that work item indicating your interest support.

Cheers,
Geoff

On 11/21/2011 9:23 AM, hujirong wrote:
gmclemmwrote:
Right click on the file in the change set, and select "show
history" (or
if the file is in an editor, right click on the editor and select
"Team
-> Show_History). That will open the History view on the file,
form
which you can select the version you want.

Cheers,
geoff

Thanks, guys.

This way we can select a previous version and open the file. This is
same as in ClearCase.

Is there a way to replace the current version with a previous version?
Users have been asking for this in CC too.

Thanks
Jirong

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: Nov 18 '11, 4:31 p.m.

Question was seen: 15,223 times

Last updated: Nov 18 '11, 4:31 p.m.

Confirmation Cancel Confirm