[Getting Started]  [How To...]  [Browser Tips]  [Glossary]  [Road Map]  

Editing A Client Spec

A Perforce client spec defines your workspace. You must create a client spec before you can do any work with files in your workspace. To create or edit your client spec use Go To->Edit Client Spec.

If you are a new Perforce user just starting out, the only fields you have to edit are Root and View, as described below. Then just click "Save" and return to the Path Browser. Later, when you have a better idea of what you can do with your client spec, you can edit it again and select different options.

A client spec consists of the following values:

Client:
The unique name of your current client workspace. To set a different client workspace name, use Go To->Settings.

Update:
Shows when your client spec was last changed.

Access:
Shows when your workspace was last used.

Owner:
The user who "owns" the workspace and the client spec. (Unless the client spec is locked, ownership has no particular privilege.)

Host:
The name of the workstation or computer on which your workspace is located. P4Web uses this value to prevent you from accidentally using your workspace from the wrong machine.

If your workspace is on a shared filesystem, and you want to use it from more than one machine, leave the host value blank.

Description:
Optional information that can be used to described what this client workspace is used for.

Root:
The location of the the root of your workspace on the local filesystem. You should set this once, when you are first creating your client spec. Use the directory naming syntax recognized by your machine (for example, "C:\WS" on Windows, or "/usr/team/bill/ws" on Unix).

If you ever want to change your workspace root, you should first submit your opened files, then remove all Perforce-managed files from your workspace, and then use the Edit Client Spec page to change the root. After saving the new client spec, sync your workspace and files will be written to the new location.

Options:
See below. These are for special handling of workspace files.

View:
Describes how depot files will be "mapped" into your workspace. For example, if your client workspace name is "PatWS" and its root is "C:\WS", this view:
	//depot/projects/saturn/... //PatWS/SAT/...
will map all the files the //depot/projects/saturn path to a matching directory hierarchy under "C:\WS\SAT".

If you're creating your first workspace, you can leave the default values provided in the View field. Be aware, however, that if your Perforce server manages very large depots, the default view can cause your workspace commands to run slowly. For better performance, define a view that maps to only the depot paths you are interested in working with.

See the Perforce User's Guide for more details on client view mapping.

Options

These optional behaviors can be defined for your client workspace:


Copyright 2000 Perforce Software. All rights reserved.