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.
On this page:
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.
-
In the timeline, right-click the version to keep and click Squash to Version.
-
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.
-
In the Submit Changelist dialog box, select Squash.
When you click Submit, the local versions are removed from the timeline.