The chws command can change any of the following specifications of an existing
workspace:
If appropriate, the chws command registers with AccuRev the fact that a workspace has changed location. However,
chws does not physically move the contents of the workspace. Before using
chws, you must move the workspace’s contents yourself, using operating system commands such as
tar (UNIX/Linux) or
xcopy (Windows).
Specify the name of the workspace to be changed. Use the -s option when you change a workspace that belongs to another user. In this case, you must include the
_<principal-name> suffix, in order to fully specify the workspace name. This is also useful when you have used the
chuser command to change the principal-name of a user. Use
chws -s to update this user’s workspace(s) to reflect the new principal-name.
With the -w option, you are restricted to changing the name of one of your own workspaces.
chws adds the suffix
_<your-principal-name> to the new name (if you don’t include the suffix yourself).
With the -s option, you can change the name of another user’s workspace.
chws does not add any suffix to the new name, so you must include the
_<principal-name> suffix yourself.
Note: after “reparenting” a workspace to a new backing stream, use the
update command in that workspace to make sure it contains the correct version of each element.
Specify the line terminator to be used when an AccuRev command (e.g. update,
co) copies a version of a text file from depot storage to the workspace. (In depot storage, all text files are stored with the AccuRev-standard line terminator,
NL.) The <
eol-type> can be
d (default: use the standard line terminator for the client machine’s operating system),
u (use the UNIX/Linux line terminator,
NL), or
w (use the Windows line terminator,
CR-NL).
After using chuser to correct a user’s principal-name from “fredriks” to “frederick”, change the user’s “mercury_itr” workspace to reflect the corrected principal-name.