Short version:
After branching in P4, how can I find out the "source" changelist of the branch?
Long version:
Let's say I have a main branch of my project at
//project/main/...
The latest changelist submitted here is @123, when I decide to create a branch for release 1.0 in
//project/1.0/...
From P4V, a new changelist is created (say @130), resolved and submitted.
From the CLI, it would look something like this:
p4 integrate -c 123 -o //project/main/... //project/1.0/...
p4 submit
Later, I look at the changelists under //project/1.0, and see the @130 changelist containing a lot of branched files.
How can I find out the changelist no. that this was originally branched from (that is, @123) ?
p4 integrate //project/main/... //project/1.0/.... (-c 123would fail because-cspecifies a pending changelist. In your example 123 is an already submitted changelist.) - Jon-Ericp4 filelogwith basically the same parameters you use forp4 changes, but I think your solution gives clearer results (i.e. I can just eyeball the changelist I need, as opposed to the "filelog" version which is a lot more verbose). - Cristian Diaconescu