The patchlist command compares two versions of each specified element: the “from” version specified with
-v and the “to” version specified with
-V. If you omit the
-V option, the version in the current workspace is used; if you don’t specify any elements, all the elements in the “to” workspace/stream are considered.
If a transaction range is specified with -t, patchlist only considers the versions involved in those transactions for the comparison.
For each element, patchlist lists all the real versions that contain changes that are present in the “from” version, but have not yet been incorporated into the “to” version. If no elements are specified, all the elements in the “to” workspace/stream are considered.
For example, to find which of Allison’s versions of file brass.h contains changes that Derek has not yet incorporated:
Derek can then incorporate selected changes with one or more invocations of the patch command. If he wants to incorporate all of Allison’s changes, he might prefer to perform a single
merge command, not a series of
patch commands.
Note: An invocation of the
patch command can, in effect, incorporate several versions’ changes into the target version. See the
patch reference page for details.
patchlist merely provides information: the
depot-relative pathname and version-ID of each version, along with the number of the
keep transaction in which that version was created. For example:
patchlist does not perform any actual
patch commands.
For all elements find the versions in the gizmo_dvt stream containing changes that have not yet been incorporated into the
gizmo_test stream: