Repair a corrupted local workspace.
Purpose
The scm repair subcommand
repairs a local workspace that has become corrupted or is out of sync
with its counterpart in the repository.
Synopsis
- To run scm repair after you have used scm login to
create stored credentials:
scm repair [ -r
| --repository-uri ] repository URI or nickname { [ -d | --dir ] workspace-path [ -v | --verbose ] }
- To run scm repair supplying credentials on
the command line:
scm repair { [ -u | --username ] user ID in repository [ -P | --password ] password for user ID in repository [ -d | --dir ] workspace-path [ -v | --verbose ] }
Options and arguments
- [ -d | --dir ] workspace-path
- The path name of the workspace to repair. path must
be a local workspace created by scm load or scm
share. If this option is omitted, scm repair repairs
the workspace assocaited with the current working directory.
- [ -P | --password ] password for user ID in repository
- The password for the specified user ID in
the named repository. If this option is not included on the command
line, you are prompted for a password. If you specified a repository
URI or nickname for which you have stored credentials using the scm
login command, this option is ignored.
- [ -u | --username ] user ID in repository
- Specifies a user ID that exists in the named
repository. If you specified a repository URI or nickname for which
you have stored credentials using the scm login command,
this option is ignored.
- [ -r | --repository-uri ] repository URI
- Specifies the repository in which to take
this action. If you have stored repository credentials using the scm
login command, you can use the nickname you supplied for
these stored credentials
- [ -v | --verbose ]
- Provide additional informational messages
while operating.
Examples
Repair the workspace associated
with the current working directory. The repository must be specified
even though the current working directory includes the repository
URI in its metadata, because the metadata might be corrupted.
C:\local-workspaces\HelloJazz>scm repair -r jazzhost
Rebuilding local workspace. This may take a while.
Repair complete.