p4 update

Synopsis

Update a client workspace without overwriting files that have changed since last sync.

Syntax

p4 [g-opts] update [-L -n -q] [file[revRange] ...]

Description

p4 update is an alias for a p4 sync -s.

Options

-L

For scripting purposes, perform the update on a list of valid file arguments in full depot syntax with a valid revision number.

-n

Display the results of the update without actually performing the update. This lets you make sure that the update does what you think it will do before you do it.

-q

Quiet operation: suppress normal output messages. Messages regarding errors or exceptional conditions are not suppressed.

g-opts

See “Global Options”.

Usage Notes

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

Yes

Yes

read

  • p4 update is an alias for p4 sync -s.

Related Commands

p4 update is an alias for p4 sync -s

p4 sync -s

To copy files from the depot to the client workspace

p4 sync