CLI Reference > Configuration Management Commands > si archiveinfo
si archiveinfo
displays information about an archive
si archiveinfo [--[no]labels] [--[no]locks] [(-P project|--project=project)] [(-S sandbox|--sandbox=sandbox)] [--[no]failOnAmbiguousProject] [--lockRecordFormat=value] [--devpath=path] [--projectRevision=rev] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] member...
si archiveinfo displays global information about an archive. For example,
si archiveinfo --locks --lockrecordformat={locker} c:/Documentation/Man_Pages/xml_man/si_add.1.xml
The command does not contain any per-revision information. For example:
Member Name: c:\Documentation\Man_Pages\xml_man\si_add.1.xml
Sandbox Name: c:\Documentation\Man_Pages\project.pj
Archive Name: \rd\doc\Man_Pages\xml_man\rcs\si_add.1.xml
Archive Type: Text
Exclusive Lock Mandatory
Archive Description:
TechReview1 1.7
PeerReview_1 1.6
Shared displays only if other members share the archive and you are using the database repository.
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
controls whether to show labels and associated revision IDs.
controls whether to show locks and associated revision IDs.
defines the format for displaying lock information for the archive. Specify a format string using keywords to represent the information you want to display. You can specify any of the following keywords:
displays the revision that is locked.
displays the user who locked the revision.
displays the type of lock on the revision (exclusive or non-exclusive).
displays the time when the revision was locked.
displays the change package associated with the lock on the revision.
displays the name and path of the project where the member revision was locked from. If the member revision was locked from a shared subproject, it is the subproject name and path that are displayed.
displays the name of the development path where the lock on the revision was made from.
displays the name of the Sandbox where the lock on the revision was made. This is relevant when viewing the information from the locker host.
displays the hostname of the computer that locked the the revision.
displays 1 if the lock has a change package associated with it, 0 if there is no associated change package.
displays 1 if there is Sandbox information available for the lock, 0 if no Sandbox information is available.
displays 1 if the lock was made from a development path, 0 if it wasn't.
displays the name of the locked revision.
identifies a specific member.
See the diagnostics reference page for possible exit status values.
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
si memberinfo, si mods, si revisioninfo, si rlog, si viewhistory, si viewlabels
ACL, diagnostics, options, preferences