p4 reload

Reloads the specified workspace, label, or task stream from the unload depot.

Syntax

p4 [g-opts] reload [-f] [-c client | -l label | -s stream] [-p address]

Syntax conventions

Description

The p4 reload command reloads the state of an unloaded workspace, label, or task stream from the unload depot. (See unload depot in Helix Core Server Administrator Guide.)

Options

-c client

Unload the client workspace, and then reload if it had not been unloaded previously.

-f

Administrator force option, which allows reloading of labels and workspaces owned by other users. Requires admin access.

-l label

Reload the specified label from the unload depot.

-p address

In multi-server environments, reload an unloaded client workspace or label from the edge or commit server specified by the address. This migrates that workspace or label from that server to this one. To perform this operation, the service user of each server must be properly authenticated with the other server.

When used with the -c option, the client workspace will automatically be unloaded on the remote server and then reloaded if it had not been unloaded previously.

The address parameter can be specified either as the P4PORT or as the server id of the server. If you specify a server id, the server spec must contain the correct P4PORT value in its Address field.

-s stream

Reload the specified task stream from the unload depot.

g-opts

See Global options.

Usage Notes

Can File Arguments Use Revision Specifier? Can File Arguments Use Revision Range? Minimal Access Level Required

No

No

write

Related Commands

To unload a client workspace or label name

p4 unload