scm compare snapshot can not show which file add/modify/delete
One answer
Hi,
the Eclipse snapshot compare has quite a lot of code around it that shows the extra you are missing on the plain command line. The actual underlying compare as realized in
>lscm compare snapshot A snapshot B
will indeed only show the change sets.
You then would need to script a little to loop over the resulting change sets and have each change set display its changes with e.g.
>lscm list changes <ChangeSet ID>
Each file in the resulting list is prepended by a letter corresponding to its change bit:
with
a = added
d = deleted
c = modified
r = renamed
m = moved
You probably want to write a subroutine to parse the output of >lscm list changes to just display the info you are looking for.
I realize this is probably not the answer you wanted to hear, but is it useful nonetheless?
- Arne
the Eclipse snapshot compare has quite a lot of code around it that shows the extra you are missing on the plain command line. The actual underlying compare as realized in
>lscm compare snapshot A snapshot B
will indeed only show the change sets.
You then would need to script a little to loop over the resulting change sets and have each change set display its changes with e.g.
>lscm list changes <ChangeSet ID>
Each file in the resulting list is prepended by a letter corresponding to its change bit:
with
a = added
d = deleted
c = modified
r = renamed
m = moved
You probably want to write a subroutine to parse the output of >lscm list changes to just display the info you are looking for.
I realize this is probably not the answer you wanted to hear, but is it useful nonetheless?
- Arne