[p4] Advice on Client Specs

Chuck Karish karish at well.com
Thu Jul 12 11:47:16 PDT 2001


At 03:20 PM 7/12/2001 +0100, Greg Whitfield wrote:
>We are just doing a pilot project to change over a complex code base from
>Visual Source Safe to Perforce. The concept of Client
>Specifications/Views/Workspaces (what *are* the differences?) seems very
>powerful, but we have been trying to work out good practice for them.

A client specification is the configuration record that tells Perforce
how to manage the relationship between objects in the Perforce
database and a particular instance of those objects on disk.

A view is a list of 1:1 mappings between files or groups of files in the
Perforce database and the corresponding files or groups of files on
disk.

A client workspace is the on-disk instantiation of the files in a client view.

>More specifically, would it be usual to have a single client spec that you
>work with most/all of the time, or multiple specs that you switch
>repeatedly?

Whatever suits your shop's style.  Perforce doesn't have a direct
equivalent for VSS's ability to share a set of files across multiple
projects.  One way to implement that is for each user to have a
separate client for each project, and to map the shared files in each
client.


Chuck Karish            karish at well.com           (415) 317-0182




More information about the perforce-user mailing list