lscm accept command is not detecting changes
Hello,
I'm using the following command in order to accept changes that had been checked-in and delivered already into RTC workspace.
lscm login -r <url-to-my-rtc> -u <username> -n rtc -P <password>
lscm accept -r rtc -d /Codes/rtc -t <workspace name> -C <component name>
lscm logout -r rtc
The change sets have been delivered, but the accept command simply tells me "Workspace unchanged". There's no other error messages.
Do i have a typo anywhere in the command or is there something I need to check in the workspace?
I'm using the following command in order to accept changes that had been checked-in and delivered already into RTC workspace.
lscm login -r <url-to-my-rtc> -u <username> -n rtc -P <password>
lscm accept -r rtc -d /Codes/rtc -t <workspace name> -C <component name>
lscm logout -r rtc
The change sets have been delivered, but the accept command simply tells me "Workspace unchanged". There's no other error messages.
Do i have a typo anywhere in the command or is there something I need to check in the workspace?
2 answers
Hi,
Are you sure the change has been delivered to the same stream that this workspace has set as it's flow target?
Is the change in the component you are listing?
Have you tried running "scm status" before accepting?
Are you sure the change has been delivered to the same stream that this workspace has set as it's flow target?
Is the change in the component you are listing?
Have you tried running "scm status" before accepting?
Comments
I ended up using the --overwrite-uncommitted flag in order to accept the "real" changes. When I ran "lscm status", it listed every single file and directories under "Unresolved" in addition to the "Incoming" changes.
The unresolved items had "p" flag beside them, which according to the following resource indicates the properties of the file has changed.
http://www.ibm.com/developerworks/rational/library/rational-team-concert-command-line-reference/
This is what I find confusing. I performed the same operation multiple times, with same result.
1. Run "lscm load" command for loading the workspace into a local directory (previously created local directory was removed)
2. Run "lscm status" from the local directory, where the workspace has been loaded.
--> The status shows all files in every single component as unresolved
With the help of my colleague when we checked-in one of the files being reported as "Unresolved", we compared the difference from RTC GUI. The difference it showed was that the new file's executable property was changed to "true", even though the file's property wasn't showing it as executable on that same local directory.
Not sure if this is a bug or not. I'm using RTC 4 and ran into this issue on AIX 6 machine where I was loading the workspace and was trying to accept the changes.
The unresolved items had "p" flag beside them, which according to the following resource indicates the properties of the file has changed.
http://www.ibm.com/developerworks/rational/library/rational-team-concert-command-line-reference/
This is what I find confusing. I performed the same operation multiple times, with same result.
1. Run "lscm load" command for loading the workspace into a local directory (previously created local directory was removed)
2. Run "lscm status" from the local directory, where the workspace has been loaded.
--> The status shows all files in every single component as unresolved
With the help of my colleague when we checked-in one of the files being reported as "Unresolved", we compared the difference from RTC GUI. The difference it showed was that the new file's executable property was changed to "true", even though the file's property wasn't showing it as executable on that same local directory.
Not sure if this is a bug or not. I'm using RTC 4 and ran into this issue on AIX 6 machine where I was loading the workspace and was trying to accept the changes.