How to resolve a conflict using lscm?
Andy Jewell (242●3●63●74)
| asked Dec 05 '13, 7:22 p.m.
retagged Dec 10 '13, 12:00 p.m. by David Lafreniere (4.8k●7)
I'm getting a funny message, maybe I'm reading it wrong. I tried to deliver a set of files and had a few conflicts:
C:\Users\O386600\mbe-workspaces\build_process_o386600\master>lscm conflicts
So I went through them and resolved each of them like this:
C:\Users\O386600\mbe-workspaces\build_process_o386600\master>lscm resolve -c buildnumber.properties
When I get to the last one, I get this:
C:\Users\O386600\mbe-workspaces\build_process_o386600\master>lscm resolve -c arscli-prod.properties
Yet:
C:\Users\O386600\mbe-workspaces\build_process_o386600\master>lscm conflicts
And:
C:\Users\O386600\mbe-workspaces\build_process_o386600\master>lscm deliver
The "non-conflict" conflict, does look a bit different - there's not a small "c" in the result of the conflicts command.
Nevertheless, I'm not sure how to clear this. Am I doing something wrong?
- Andy
|
Accepted answer
Shashikant Padur (4.3k●2●7)
| answered Dec 06 '13, 1:49 a.m.
JAZZ DEVELOPER edited Dec 06 '13, 3:43 a.m.
Andy,
You have used the command correctly but I am not sure why it is not resolving the conflict. By the way, the small 'c' stands for content change and there is another attribute 'p' which stands for property change. The capital 'C' indicates regular conflict and there are other types of conflicts.
Can you try listing the changes of the change set that has arscli-prod.properties file? Use 'lscm list changes'. Use the alias/uuid of that file in the resolve command instead of the path of the file.
Andy Jewell selected this answer as the correct answer
Comments
Andy Jewell
commented Dec 06 '13, 11:19 a.m.
That was it! Thanks, Shashikant!
C:\Users\O386600\mbe-workspaces\build_process_o386600\master>lscm -u y ls changes 2214
Change sets:
(2214:_WIuaQVPvEeObJfZOCm0eyA) ---$ Andrew P Jewell "add arscli prod file"
Component: (2132:_FE_KIE4VEeObJfZOCm0eyA) "master"
Modified: 22-Nov-2013 07:35 PM
Changes:
--a-- (2275:_WGovkFPvEeO-XLN1fBncEA) \master\arscli-prod.properties
Work items:
(2158:_cTV3YAnKEeOaqcwlqKRq2Q) 14 "Share MBE Build code with Jazz Source Control"
C:\Users\O386600\mbe-workspaces\build_process_o386600\master>lscm resolve -c _WGovkFPvEeO-XLN1fBncEA
Conflicted items have been successfully resolved.
I will raise a defect on conflicts not being able to be resolved based on path for Add-Add conflict.
Makson Lee
commented Feb 11 '14, 9:40 p.m.
Is there any other way to get the alias/uuid of a file?
I believe you mean the file in the change set? If so, use "scm list changes <change-set-alias/uuid>" which will list you the aliases of all the files in the change set.
or use "scm -u y list changes <change-set-alias/uuid>" which would list you the uuids.
|
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.