pi integrate

'pi integrate' is used to merge one IP Line with another with the assistance of a hook script to handle the DM level commands. See Branching and Merging Perforce IPLM Lines for details.

Command Overview Help

> pi integrate -h
Usage: pi integrate [-h] [--wsdir WSDIR] [--args ARGS] identifier

Description: Merge another IPV's resources into your Workspace. This command
can only be run from within a Workspace.

Positional arguments:
  identifier            The name of the IPV being merged in. The resources of
                        the specified IPV will be merged with the resources of
                        the IP in the Workspace. If the IP doesn't exist in
                        the Workspace, an error will be generated.

Optional arguments:
  --args ARGS           Arguments passed to the hooks.
  --wsdir WSDIR, -ws WSDIR
                        The Workspace directory. If not specified, the current
                        directory should be a Workspace directory.
  -h, --help            Show this help message and exit

Examples:
# Merge IPV lib.ip@10.L1 into the same IP in the Workspace.
  pi merge lib.ip@10.L1

# Merge IPV lib.ip@GOLD.MYLINE into the same IP in the Workspace.
  pi merge lib.ip@GOLD.MYLINE

More information and documentation available at:
  https://help.perforce.com/methodics/
Copyright © 2010-2025 Perforce, Inc.