To check in changes you have made to the files in a project, you submit To send a pending changelist from the client workspace to the depot.the changelist The changes to files or stream specifications along with metadata, such as the list of changed files, their version numbers, who submitted the changelist to the depot, and the submitter's description of the changes. A changelist is the unit of versioned work. See also atomic change transaction and changelist number. containing the files. Use changelists to structure your changes.For example, use a changelist to group the changes required to fix a bug oradd a feature. This approach enables you to keep the revision history of your project files coherent.
To check in changes:
- In the P4 Pending Changelists view, right-click the changelist thatcontains the files you want to check in and choose Submit...
- Enter a description of your changes. If there are files you do not wantto submit, un-check them. Any files that you do not submit remain checked out.
- Click Submit. Your changes are submitted.
- To verify:
- In the P4 Submitted Changelists view, click the Refresh button on the view toolbar to display the newly submitted changelist.
- Double click on the newly submitted changelist to display the changelist details, an example is shown below:
The PerforceChange Specification dialog is displayed.
To create a changelist, click in the P4 Pending Changelists view.
To move files among changelists, select the files in the P4 Pending Changelistview and drag them to the target changelist.
To compare the state of the project in your workspace with the version in thedepot, right-click the project in the navigator and choose Team > CheckConsistency... P4Eclipse displays files you have added to or deleted from theproject, enabling you to make sure that you check in the correct project files,as shown in the following image. Click OK to mark files for add or delete asrequired.
When you submit a changelist, you might encounter file conflicts that requireresolution. Conflicts can occur, for example, if another user checks in changesafter you check a file out. Perforce requires you to decide how the two differingversions of the file are resolved. For more details, see TeamDevelopment and Resolving Conflicting Changes.
Changelists submitted by you and other users are listed in the P4 SubmittedChangelists view. You can filter this view to display only the changelists pertaining to a specified user, path, and workspace.To clear the filter, click .