History usage - RTC
6 answers
Yaron,
You would first need to load a folder containing the file into a local
sandbox. Then you could show the history for the file in the history
view. Form the context menu of the file state/revision you want, you can
choose Load. This will load the contents of the previous state into your
workspace resulting in a pending change. You can then check-in (and
deliver) the change.
Hope this helps,
Michael
yaron wrote:
You would first need to load a folder containing the file into a local
sandbox. Then you could show the history for the file in the history
view. Form the context menu of the file state/revision you want, you can
choose Load. This will load the contents of the previous state into your
workspace resulting in a pending change. You can then check-in (and
deliver) the change.
Hope this helps,
Michael
yaron wrote:
Hello,
I would like for a specific file to "replace" the file with
an older version from the history.
What is the best practice for that ?
Thanks,
Yaron
Is it possible to create a query that will return all records that a
user owned at any one time?
Full-text search doesn't seem to search the history tab in defect
records. Can this only be done through a report?
Historical states cannot be queried using full text or the work item
query editor. A report is the only option here.
--
Regards,
Patrick
Jazz Work Item Team
Hello,
Michel, the scenarion you suggested is:
You would first need to load a folder containing the file into a local
sandbox. Then you could show the history for the file in the history
view. Form the context menu of the file state/revision you want, you can
choose Load. This will load the contents of the previous state into your
workspace resulting in a pending change. You can then check-in (and
deliver) the change.
Are you sure that you can do it also with Visual Studio?
I did not see load option from the history view.
What are my options?
Thanks,
Yaron
Michel, the scenarion you suggested is:
You would first need to load a folder containing the file into a local
sandbox. Then you could show the history for the file in the history
view. Form the context menu of the file state/revision you want, you can
choose Load. This will load the contents of the previous state into your
workspace resulting in a pending change. You can then check-in (and
deliver) the change.
Are you sure that you can do it also with Visual Studio?
I did not see load option from the history view.
What are my options?
Thanks,
Yaron
There is a 'Compare with Local' option in the History View. You could use that on the version of your choice to get the compare editor to show up the differences between the older version and your current one. Once in the conmpare editor, you could copy the contents of the older version over your current once or just copy the changes that you need.
I am from Rational Publishing Engine team, now we have a customer who want to extract version history for one file in RTC repository. And I checked the RTC REST APIs https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI and did not find corresponding API which can get the above information from RTC.
I wonder if there are such Reportable REST API for exposing version history from RTC. Or I missed something. or are there any other ways can achieve this? Please help clarify.
Much appreciated.
I wonder if there are such Reportable REST API for exposing version history from RTC. Or I missed something. or are there any other ways can achieve this? Please help clarify.
Much appreciated.