P4V Documentation | 2025.1

# Retrieve 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. To learn more, see P4V 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, right-click the file and choose Get Latest Revision.

To get a previous revision, right-click the file and choose File History. The History tab opens. This tab displays the revision history of the file or folder selected in the tree pane. In the History tab, right-click the desired revision and choose Get this Revision. Alternately, right-click the file and choose Get Revision​. In the Get Revision dialog box, specify the desired revision and click Get Revision.

To get the revisions or the previous revisions for files in a changelist, open the Submitted tab. This tab displays a list of submitted changelists, based on the filter criteria selected at the top of the tab. Its content is not related to any files or folders selected in the tree pane. In the Submitted tab, right-click the desired changelist and choose Get Revisions For Files in Changelist <xxx> or Get Previous Revisions for Files in Changelist <xxx>.

To use a changelist number, label, workspace, or date to specify a revision, in the Get Revision dialog box, click Specify revision using, choose the desired method from the drop-down list, and specify the desired changelist number, label, workspace, or date. Then click Get Revision.

To get a revision into your workspace even if the workspace already has the file, in the Get Revision dialog box, select Force Operation. This option does not affect open files.

## File names and operating systems

The names of files (and directories) might be lowercase, uppercase, or a mix of upper and lower case, such as such as readme, ReadMe, and README. Depending on the operating system of the Helix Core client and the operating system of the Helix Core Server, complications might occur when using Get Latest to sync files (or directories) if the same name has differences of case. To learn more, see Case sensitivity and multi-platform development in the Helix Core Server Administration Documentation.

Your search for returned results