Free a checked out file on P4 Server

If you have a file checked out, but no longer need to make changes to it, you can free the file, which is also known as reverting. Freeing the file reverts the check out, unlocks the file if it is locked, and makes the file read only in your workspace. You can choose to keep or discard your local changes. Freeing a file also removes the file from the pending changelist and lets other users see that you are no longer working on the file.

To free a locked file, the workspace must be connected to a P4 Server and you must be signed in to it. You must already have the file checked out.
  1. In the file pane, right-click the checked out file and choose Free File.

  2. In the Free File dialog box, select a check out option.

    Check out option Description
    Free File Revert the check out and keep any changes to the file in your workspace. The file will be read only in your workspace until you check it out again.
    Free File and Discard Changes Revert the check out, discard any changes to the file in your workspace, and revert the file in your workspace back to the current revision on the P4 Server.

    After you select an option, the file is reverted and removed from the pending changelist.