File-based versions
![]()
I would like to extract a list of all files currently stored in RTC with some kind of version information.
Is it possible to get for a example a unique ID of the last changeset which modified each file? |
7 answers
![]()
... or the other way around: Is there something like an "unique ID" of a changeset? Or is date/time the only way to clearly identify a change set?
|
![]()
.. okay, so RTC is a version control system without version, right? There is no way to clearly and uniquely identify the version of a file?
|
![]() .. okay, so RTC is a version control system without version, right? There is no way to clearly and uniquely identify the version of a file?All items have a UUID. Although, I don't think it will help in getting the "last" change set that modified a file. The change set may not have been delivered to a stream or may not exist in a workspace anymore. Unless that is what you want, it might be better to scope your search to streams you care about. |
![]()
Geoffrey Clemm (30.1k●3●30●35)
| answered Mar 16 '12, 4:19 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As Tim points out, every item in the RTC repository (including file versions and change sets) are given a unique ID.
If you described the use case you are trying to achieve, we could provide better guidance on how to achieve it. For example, why would you want to extract a list of all files currently stored in RTC with some kind of version information? Cheers, Geoff I would like to extract a list of all files currently stored in RTC with some kind of version information. |
![]()
We need to document (on paper) all files with their last version which form one specific software version. If the UUID of a change set does not help, maybe its possible to extract date/time of the last delivered file change?
This is necessary for archive and for static version information without RTC access (needed for customer and QA). And finally we would like to add the file version into the file itself (like it is possible using the svn-keywords in Subversion). But as I've read so far, RTC offers no similar functionality. |
![]()
Okay, using "lscm history -m 1 filename" I am able to find the last changeset of each file.
Now I know the ID of a specific changeset - but how do I get more information of this changeset? Especially the date? Is there an scm command which allows to extract changeset information based on the changeset ID? |
![]()
Bump: Is there an scm command which allows to extract changeset information based on the changeset ID?
I just need the date/time of the changeset so I am able to write a script which can extract the last modification date of each file. |
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.