You can retrieve (sync) the head revision (most recent) or any previous revision of a file from the depot to your client workspace. In the Tree pane, open the folder containing the file you want to retrieve. The icons indicate the status of the files; see About file icons for details.
Note that expanding a file revision that resulted from an integration shows
the revisions for the file in the source codeline. Syncing a revision from the
source codeline does not affect the original file you are browsing. The
following
figure illustrates how integration history is displayed, showing that a file
was deleted and branched to a new file.
To sync the head revision, context-click the file and choose Sync to Head.
To sync a previous revision, context-click the file and choose Revision History. In the Revision History dialog, context-click the desired revision and choose Sync Revision. Alternately, context-click the file and choose Sync... In the Sync dialog's To field, specify the desired revision.To use a changelist number, label, client, or date to specify a revision, choose the desired method from the To field drop-down list and specify the desired changelist number, label, client, or date.
To force resynchronization even if the client already has the file, check Force Sync. Note that this option clobbers writable files but does not affect open files.
For more details about specifying file revisions, refer to the Perforce User's Guide.