View the timeline

The timeline represents the lifecycle of the project. It shows the state of your workspace and your changes. If you use P4 for collaboration, your changes are stacked on your current synced changelist and you can see if there are new changes in P4 that you should get to your workspace.

The timeline has the following elements:

  • Current changes is displayed in the timeline if you changed items in your workspace since you last created a version.
  • Versions you created are displayed in descending order.

  • Tracks are colorful lines in the timeline that show branching of your changes. Tracks are automatically created when you create a version. To learn more, see Tracks.

  • Changelist information is displayed at the bottom of the list if your workspace is connected to P4. The changelist number, user who submitted the changelist, and when it was submitted are displayed. If there are new changes on the server, click Get latest changes to update your files with the latest content while preserving your changes.

Current changes

To work with current changes to the workspace, select Current changes in the timeline. You can perform the following actions on current changes:

Action Instructions More information
Create a version Click the Create Version button. Create a version
Discard your current changes Right-click Current version and select Discard Changes Discard current changes

Versions

To work with a version, select it in the timeline. The version that is currently in your workspace is indicated with a green checkmark.

You can perform the following actions on versions:

Action Instructions More information
Restore all files and folders from a previous version Click the Restore Version button next to the version Create a version
Submit a version to a P4 Server Click the Submit Version button next to the version. The workspace must be connected to a P4 Server to submit a version. Submit a version to P4 Server
Rename a version Right-click the version and choose Rename Version. Rename a version
Select the current version in the timeline Right-click anywhere in the timeline and select Select current version. --
Select the parent version that a version was created from Right-click the version and select Select Parent. --
View the P4 Server changelist submitted for the version Right-click the version, select Select Changelist, and then select the changelist number. View changes submitted to a P4 Server
Squash versions to remove them from the timeline and P4 One Right-click the version to keep and click Squash to Version. There is no undo available. Make sure to commit any changes you want to keep before squashing a version. Squashing local versions
Copy version information to the clipboard Right-click the version, select Copy to Clipboard, and then select a value to copy. --