timestamp problem when checking out
I currently have a program which uses the scmtools CLI to connect with RTC. When I use load workapce to download the changed files it doesn't retain the lastMod date of the file.
Is there a way to get the last modified date of the file? the loadWorkspace command seems to work more like FTP than version control and change the timestamps!!
I did find that you can use certain commands to get the changesets (which returns a changeset ID and the lastMods name) but couldn't utilize this information to get the date!
regards,
Is there a way to get the last modified date of the file? the loadWorkspace command seems to work more like FTP than version control and change the timestamps!!
I did find that you can use certain commands to get the changesets (which returns a changeset ID and the lastMods name) but couldn't utilize this information to get the date!
regards,
4 answers
See the thread titled "Files loaded from source control do not perservce
last m" for an explanation for why the modification date of files
in a file area are the date they were loaded into the file area.
Summary: Doing anything else will break date-based build systems like
all but the most sophisticated variants of Make.
Cheers,
Geoff
tehwabbit wrote:
last m" for an explanation for why the modification date of files
in a file area are the date they were loaded into the file area.
Summary: Doing anything else will break date-based build systems like
all but the most sophisticated variants of Make.
Cheers,
Geoff
tehwabbit wrote:
I currently have a program which uses the scmtools CLI to connect with
RTC. When I use load workapce to download the changed files it doesn't
retain the lastMod date of the file.
Is there a way to get the last modified date of the file? the
loadWorkspace command seems to work more like FTP than version
control and change the timestamps!!
I did find that you can use certain commands to get the changesets
(which returns a changeset ID and the lastMods name) but couldn't
utilize this information to get the date!
regards,
I understand that if the file is being downloaded for the first time, the local OS will class the file as new and alter the modification date.
Is there a way to query the repository like in CMVC? This way it might be possible to get the actual last modified (or commited) date of a file.
Once again this HAS to be via the CLI or something that can be called from outside the RTC GUI.
Is there a way to query the repository like in CMVC? This way it might be possible to get the actual last modified (or commited) date of a file.
Once again this HAS to be via the CLI or something that can be called from outside the RTC GUI.
I understand that if the file is being downloaded for the first time, the local OS will class the file as new and alter the modification date.
Is there a way to query the repository like in CMVC? This way it might be possible to get the actual last modified (or commited) date of a file.
Once again this HAS to be via the CLI or something that can be called from outside the RTC GUI.
RTC currently does not preserve the original modification timestamp of a file. They do have it logged as a future enhancement (potentially in 3.0)
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/83718
Hope this helps,
Thaddee