02.05.2013 Views

Description - Mks.com

Description - Mks.com

Description - Mks.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

si diff<br />

displays differences between two revisions of a member<br />

SYNOPSIS<br />

si diff [--context=value] [--[no]ignoreBlanks] [--[no]ignoreCase]<br />

[--[no]ignoreWhitespace] [-r rev1[-r rev2]] [(-R|--[no|confirm]recurse)]<br />

[--filter=filteroptions] [(-P project|--project=project)] [(-S sandbox|--sandbox=sandbox)]<br />

[--devpath=path] [--projectRevision=rev] [--hostname=server] [--port=number]<br />

[--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)]<br />

[(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]]<br />

[(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] member...<br />

DESCRIPTION<br />

si diff displays the differences between two revisions of the specified member, or one revision<br />

and the member's working file. If no members are specified, si diff operates on all project<br />

members.<br />

By default, in a sandbox, this <strong>com</strong>pares the member revision against the working file.<br />

In graphical mode where the -g or --gui option is used, this invokes the visual difference utility.<br />

Otherwise, the diff or diffb utilities are used depending on whether it is evaluating differences<br />

in a text or binary file.<br />

If used with -g or --gui, only one member can be differenced at a time, and the --context<br />

option is ignored.<br />

Options<br />

This <strong>com</strong>mand takes the universal options available to all si <strong>com</strong>mands, as well as some general<br />

options. See the options reference page for descriptions.<br />

--context=value<br />

shows value number of lines of context, before and after each difference between two files.<br />

si diff marks lines removed from the "old" revision with -, marks lines added to the<br />

"new" revision with +, and marks lines changed in both files with !.<br />

--[no]ignoreBlanks<br />

controls whether to ignore blanks when <strong>com</strong>paring textual revisions. When<br />

--ignoreBlanks is used, all differences involving blanks are ignored except blanks at the<br />

start of a line. These are treated differently than blanks between other characters. The<br />

following pair would be considered different, for example, because of the leading blank:<br />

102 of 457

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!