Skip to main content

P4 Branch Management

Do More with Streams

Built into Perforce P4, Streams simplifies your branching and merging operations, allowing for advanced automation across your development and release processes.

Map of connected P4 Streams
Branching and merging screenshot, Perforce Helix Core p4V.

Streamline Branching and Merging

Better manage your operations with Streams. Within P4, users can design and automate development and release processes with the following capabilities:

  • Support for ‘branch per bug’ and ‘branch per feature’. Implement common branching methodologies and instantaneously create new lightweight branches with Sparse Streams.
  • Reuse components across projects. Reduce manual processes, by defining component relationships between branches or streams and testing these relationships in isolation before checking in changes.
  • View branches and define dependencies. In P4V, see a graphical representation of the relationships between parent and child branches or streams in a selected depot.
Branch and revision history, screenshot in P4V.

Gain a Unified View of Your Branch and Revision History

Trace integration points across all your files and branches to understand how your code evolved with Streams. Explore the history of your code with powerful visualization tools in P4V, enabling your team to:

  • Visualize branches and integrations with the Revision Graph. View your file integration history displayed as a tree. Learn when a file was added, branched, edited, merged, copied, or deleted, or when a revision of the file was undone.
  • See and contrast all versions of a single file in the Time-lapse View. Scroll through a file’s history to identify when lines were added, changed, and deleted, who made the changes, and when the changes were made.
Branches with brains visual streams.

Take Control of Your Team's Development Process

Streams simplifies your team's development workflow by providing full visibility into your codebase. Eliminate the extra work needed to define branches, manage integrations, and maintain wikis and scripts. With Streams, your entire team can easily:

  • Understand the relationships between code.
  • View how change is propagated between streams.
  • Identify any pending integrations that need to be incorporated.

Streams Better Match Your Workflow

Streams are flexible and work how you do. See all the types of Streams available.

Related Resources

Learn more about using Streams with P4 in the resources below.

Get Started with P4