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

Working with Branches

Branching allows any set of files to be copied within the depot, and allows changes made to one set of files to be copied, or integrated, into another. As the new files evolve separately from the original files, changes in either set of files can be propagated to the other using the integrate command.

A branch spec defines the locations of the original (source) files and the branched (target) files. Branch specs can be used for integrating or simply for comparing two sets of files.

Using a branch spec is optional. You can simply specify file sets when you integrate. The advantage of a branch spec is that it stores information that you can use later.

Click the Branches tab to view all branch specs known to the Perforce server. Click on a branch name to see more details about that branch spec.

For information about the fields in a branch spec, see Creating and Editing Branch Specs.

To compare branched files:

  1. Select the Branches tab.
  2. Click on a branch spec name to display its details.
  3. Select Compare Branched Files from the Action menu at the top of the page. This lists the files that differ between the source and the target of the branch spec.


Copyright 2008 Perforce Software. All rights reserved.