File-based versions
7 answers
.. 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.
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
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.
Is it possible to get for a example a unique ID of the last changeset which modified each file?
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.
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?
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?