What causes the message "The following resources had uncommitted changes and were overwritten" to be displayed?
The following resources had uncommitted changes and were overwritten:
A copy of each file is available in "C:\mypath\.jazzShed\dateddirectory".
file1
file2
I'm trying to understand why this would be displayed. My understanding is that the shed is used to backup files. Why would these files be uncommitted and need to be backed up? This message is not displayed every time I hit a conflict that needs to be manually resolved.
One answer
Comments
I'm fairly certain file1 and file2 are not the files I resolved conflicts on manually. I will double check the next time it happens.
Here is what is interesting about this: When I resolve the conflict in Eclipse, the change should be in my repository workspace and my local Eclipse workspace. The script (which uses the CLI) uses the same repository workspace but a different local workspace. So when the repository workspace is loaded, nothing I changed in my repository workspace in Eclipse will already be in the different local workspace--loading the repository workspace will pull it in. So how am I getting uncommitted changes?
The message is appearing in the CLI not Eclipse.
Can you explain what the sandbox is? I'm not sure how it relates to my repository workspace.
The location where the repository workspace was loaded is referred to as a sandbox. The local Eclipse workspace could potentially be different from the sandbox location if you first create a Eclipse workspace and then import projects from another location. I believe in your case the local Eclipse workspace is the same as the sandbox location.
Thanks for the clarification about what a sandbox is. In my case, the sandbox is different from the local Eclipse workspace.
After resolving the conflicts in Eclipse, the script loads into the same old sandbox. I'll try running scm status.
I tried to figure out how Resolve with Proposed in the CLI, but I was unsuccessful. It looked like I had to specify the changeset of the proposed, and I had trouble figuring out how to get the correct changeset. Is there an easy way to resolve with proposed in the CLI? That would really save me a lot of time.
I just hit a merge conflict and ran "lscm status." I got a CLIClientException. In the exception, I see "SyncViewDTOUtil.java." After resolving the conflict, I got the same error.
From talking with Michael Valenta, the SyncViewDTOUtil errors were fixed in https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=315286, but unfortunately I don't have a server new enough to have the fix.
To respond to you earlier question about how to resolve conflicts with proposed using the cli...
1 vote
Thank you! That is incredibly helpful! I got it to work when I manually typed it in. Now I need to figure out how to work it into my script.
Comments
Lauren Hayward Schaefer
JAZZ DEVELOPER Jun 16 '15, 8:39 a.m.If you'd like more context of how/when I'm getting this error, see https://github.com/WtfJoke/rtc2git/issues/32