Create and list depots

A depotClosed A file repository hosted on the Helix Core Server. A depot is the top-level unit of storage for versioned files, which are also known as depot files, archive files, or source files. It contains all versions of all files ever submitted to the depot. Except for obliterated files, any version of any file can be restored, including deleted files, but not obliterated files. An installation can have multiple depots, and they might be of different types, such as a local depot and a stream depot. stores the files that users create on a Helix Core Server.

You can put each of your projects:

  • In a separate directory within a single depot

  • In its own separate depot on a single Helix Core Server

  • In its own depot on its own Helix Core Server

Helix Server client applications can access files from multiple depots. Depots can be on the Helix Server normally accessed by the Helix Server client, or they can be on a remote server (see Remote depots and multi-server development).

An installation of Helix Core Server includes the default depot, which has depot as its name.

Create a depot

For a complete list of all the possible depot types, see p4 depot in Helix Core Command-Line (P4) Reference, which explains the Form Fields, including the Type field.

To create a depot, use the p4 depot depotname command.

List depots

To list the depots associated with the current Helix Core Server, use the p4 depots command. The command has options to filter the list by name or type.