accurev chdepot -p <depot-name> <new-name>
accurev chdepot -p <depot-name> { -ke | -kd } { -Ci | -Cs }The chdepot command can change the name of a depot. A depot’s base stream has the same name as the depot itself. Accordingly, chdepot also renames the depot’s base stream, with a chstream command. See Entity Names on page 6 for information on naming depots.With the -k option, chdepot changes the setting of the depot’s exclusive file locking property. If this property is enabled (-ke), all of the depot’s workspaces use exclusive file locking. If this property is disabled (-kd), each of the depot’s workspaces can be set to use, or not use, exclusive file locking. For more on this feature, see Workspace Options in the mkws reference page.A depot’s case-sensitivity (mkdepot -C) can be changed with the -Cs and -Ci options, within the following restrictions:chdepot does not make the depot’s original name available for reuse. The only way to reuse a depot name is to
• Rename the depot using chdepot.
• Use the AccuRev administration utility command maintain rmdepot to completely remove the depot from the AccuRev repository. See Removing a Depot from the AccuRev Repository on page 109 of the AccuRev Administrator’s Guide.
• Delete or rename the depot’s directory in the AccuRev storage directory treeEnable exclusive file locking on a depot-wide basis. All of the depot’s workspaces use exclusive file locking.(default) Disable depot-wide exclusive file locking. Each of the depot’s workspaces can be set individually, either to use or not to use exclusive file locking.Set the depot to be case insensitive. You can do this only if the depot contains no elements. This is useful when you first set up a depot with mkdepot and realize, before using it, that it should have been set to be insensitive.
AccuRev, Inc. |
Phone: 781-861-8700 |
Fax: 781-861-8704 |
support@accurev.com |