It's all about the answers!

Ask a question

scm diff with beforetype "file"


Bernd van Oostrum (21735673) | asked Jan 03 '11, 7:04 a.m.
In the documentation on scm.exe diff found at http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/index.jsp:

aftertype:
one of:
* file
* workspace
* stream

beforetype:
one of:
* changeset
* file
* workspace
* stream

When using a file as the aftertype, there is no problem. The command finds the difference(s).
However, when using a file as the beforetype I get:
"Unsupported before type "file". Try 'scm help diff' for more information."
Any idea what's happening?

Regards,
Bernd.

2 answers



permanent link
Shashikant Padur (4.3k27) | answered Jan 03 '11, 11:35 p.m.
JAZZ DEVELOPER
The documentation is incorrect and will be updated soon. If you look at 'scm help diff' you will find that there is no file selector in before type.

aftertype - The type of item to use for the after state (file, workspace, stream, changeset).
beforetype - The type of item to use for the before state (workspace, stream, baseline, changeset).

In the documentation on scm.exe diff found at http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/index.jsp:

aftertype:
one of:
* file
* workspace
* stream

beforetype:
one of:
* changeset
* file
* workspace
* stream

When using a file as the aftertype, there is no problem. The command finds the difference(s).
However, when using a file as the beforetype I get:
"Unsupported before type "file". Try 'scm help diff' for more information."
Any idea what's happening?

Regards,
Bernd.

permanent link
Shashikant Padur (4.3k27) | answered Jan 03 '11, 11:44 p.m.
JAZZ DEVELOPER
The documentation is incorrect and will be updated soon. If you look at 'scm help diff' you will find that there is no file selector in before type.

aftertype - The type of item to use for the after state (file, workspace, stream, changeset).
beforetype - The type of item to use for the before state (workspace, stream, baseline, changeset).

In the documentation on scm.exe diff found at http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/index.jsp:

aftertype:
one of:
* file
* workspace
* stream

beforetype:
one of:
* changeset
* file
* workspace
* stream

When using a file as the aftertype, there is no problem. The command finds the difference(s).
However, when using a file as the beforetype I get:
"Unsupported before type "file". Try 'scm help diff' for more information."
Any idea what's happening?

Regards,
Bernd.

Your answer


Register or to post 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.