Squashing local versions

As you iterate, you might have a complicated timeline with several local versions. If you no longer need the local versions, you can squash them. Squashing removes local versions from the timeline making it easier to follow, and removes the versions from P4 One.

You can squash versions when submitting to a version to P4. You can also select a version in the timeline and squash all other versions to remove them.

Squashing versions removes access to your locally stored versions. Before you squash versions, make sure you submit all changes you want to keep. There is no undo available.

Squash from the timeline

In the timeline, you can select a version to keep and squash all other versions in the timeline to remove them.

  1. In the timeline, right-click the version to keep and click Squash to Version.

  2. In the Squash Version dialog box, click Squash to Version to confirm removing all other versions from the timeline.

    The timeline is updated to remove all other versions except the version you selected.

Squash when submitting a version

When you submit a version to P4, you can squash all other versions in the timeline to remove them.

  1. In the Submit Changelist dialog box, select Squash.

    When you click Submit, the local versions are removed from the timeline.