# Retrieving files from the depot

You can retrieve the most recent revision or any previous revision of a file from the depot to your 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.

Expanding a file revision that resulted from an integration shows the revisions for the file in the source codeline. Getting a revision from the source codeline does not affect the original file you are browsing.

To get the latest revision, context-click the file and choose Get Latest Revision.

To get a previous revision, context-click the file and choose File History. In the History tab, context-click the desired revision and choose Get this Revision. Alternately, context-click the file and choose Get Revision... In the Get Revision dialog, specify the desired revision.

To use a changelist number, label, workspace, or date to specify a revision, choose the desired method from the drop-down list and specify the desired changelist number, label, workspace, or date.

To get that revision into your workspace even if the workspace already has the file, check Force Operation. This option does not affect open files.