The Sync command allows you to update your client to
reflect the mapping between your client view and the contents
of the depot.
Sync adds files that are in the client view but which have not been
retrieved before. Sync deletes previously retrieved files which
are no longer in the client view or have been deleted from the
depot. Sync updates files which are still in the client view
and which have been updated in the depot.
This is the default option.
This is the default option.
This is equivalent to the command line:
This is equivalent to the command line:
To include or exclude individual files from the operation,
click on the checkboxes for each file, and activate the
radio button for the Selected Files option.
Command:
Do not perform the sync; merely display what would
happen to files in your client view if synced.
Perform the sync itself.
Options:
Additionally, you can "force" a Sync by checking the
radio button marked "Force". "Forcing" a sync instructs
the Perforce server to get a fresh copy of the file from the
depot, even if Perforce thinks the revision you have in your
client workspace is already up-to-date.
Head revision:
Revision number:
Label, Changelist or Date:
Same Revision:
Files:
All Files:
Files in //client-path:
Files in the specified client path and all directories below
will be synced.
p4 sync //client-path/...
Only files in the specified client path will be synced.
Any files in directories beneath the client path will be untouched.
p4 sync //client-path/*
Selected Files:
[Return to "How to Use P4Web"]