P4Web Release 2005.2 User Guide
[Getting Started]  [How To...]  [Browser Tips]  [Glossary]  [Road Map]  

Integrating Files via a Directory

When you choose Integrate... from the pulldown menu on the Files tab with a folder selected, you can use the resulting Integrate page to set up an integration to or from all the files in the selected path. In most cases, you only need to be concerned with these fields on the Integrate page:

Current path:
This is initialized for you. It is a writable field to give you more flexibility, but you don't have to change it. If you do change it, make sure the pathname you enter ends with a slash ("/").

Direction to integrate changes:
Select the direction in which you want integrate:

Use corresponding path:
Enter a pathname here. Make sure the pathname ends with a slash ("/"). This tells Perforce what pathname to use when looking for corresponding source or target files, depending on the integration direction you chose.

The "Integrate" button runs the integrate command and opens files for integrate according to the options you chose.

You can use the "Preview Integration" button to see which files would be opened. This is a particularly good idea when you are using integrate to branch new files -- it lets you confirm that you are creating files in the correct path. To actually run the integrate command after previewing it, click your browser's "Back" button to return to the Integrate Options page, then click "Integrate".


Advanced options

An alternative to specifying corresponding paths each time you integrate is to use a branch spec. A branch spec is a predefined mapping of corresponding paths. Use Go To->Branch List to see a list of stored branch specs.

Use branch spec:
If there is a branch spec that you want to use for this integration, click this radio button and enter the name of the branch spec. When you choose this option, any "corresponding path" you entered above will be ignored.

The remaining advanced options are the same regardless of how you arrived at the Integrate page.


Copyright 2005 Perforce Software. All rights reserved.