02.05.2013 Views

Description - Mks.com

Description - Mks.com

Description - Mks.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using <strong>com</strong>mas between the filteroptions serves to build logical "OR" statements between them, allowing you to create powerful filters.<br />

You may also specify multiple -filter=filteroptions<br />

on the <strong>com</strong>mand line, which effectively creates logical "AND" statements between them.<br />

For example, you can resynchronize all modified JAVA files through:<br />

si resync --filter=changed --filter=file:*.java<br />

or you can resynchronize all files with label a or b through:<br />

si resync --filter=label:a,label:b<br />

You can also negate a filter using the ! character.<br />

For example, you can check out all JAVA files that are not labelled Beta by typing:<br />

si co --filter=file:*.java --filter=!label:Beta<br />

--hostname=server<br />

identifies the name of the host server where the Integrity Server is located.<br />

--password=password<br />

identifies the password to use for connecting to the Integrity Server.<br />

--port=number<br />

identifies the port on the host server where the Integrity Server is located.<br />

-P project<br />

--project=project<br />

specifies the location of a project. This option is mutually exclusive with -S sandbox|--sandbox =sandbox.<br />

Note:<br />

Locations that include spaces must be enclosed by quotes.<br />

--projectRevision=rev<br />

identifies a particular revision of a project. This option is always paired with -P project|project=project,<br />

and is mutually exclusive with -devpath.<br />

It is available on all project-based <strong>com</strong>mands allowing you to specify the revision of the build project you want to work with.<br />

-R<br />

--[no|confirm]recurse<br />

controls whether to recursively apply this <strong>com</strong>mand to any subprojects; used in all <strong>com</strong>mands which take a list of members.<br />

-r rev<br />

--revision=rev<br />

uses a specified revision for the member. rev can be a valid revision number or a label. You may also facilitate automation with<br />

special keyword identifiers, specified using a colon (:) prefix (except for the state keyword). Acceptable identifiers are:<br />

:head<br />

identifies the head revision.<br />

:member<br />

identifies the member revision.<br />

:locked<br />

identifies locked revisions.<br />

:master<br />

identifies the member revision in the master project. This option is only applicable to variant projects.<br />

:time:timestamp<br />

uses the most recent revision on any branch at the specified timestamp. For example, -rtime:December 22, 2004<br />

3:33:34 PM GMT-05:00. Source Integrity recognizes all current timezones whatever your locale (country), for example,<br />

CEST, CET, EDT, PST, or GMT+/-hours:minutes. The following examples illustrate North American and German timestamps<br />

recognized by Source Integrity:<br />

Example 1: US GMT -5 (where E is the day of the week, M is the month, d is the numerical day of the month, y is the year, h is<br />

the time in hours, m is the time in minutes, s is the time in seconds, a is Greenwhich Mean Time (GMT), z is the timezone<br />

difference from Greenwhich Mean Time.<br />

05:00<br />

EEEE, MMMM d, yyyy h:mm:ss a z | Wednesday, April 28, 2004 3:33:45 AM GMT-<br />

EEEE, MMMM d, yyyy h:mm:ss a z | Wednesday, April 28, 2004 3:33:45 AM GMT-<br />

339 of 457

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

Saved successfully!

Ooh no, something went wrong!