[p4] Using p4 changes

Didster didster at gmail.com
Thu Jan 17 12:59:08 PST 2008


Hi,

I am pretty new to perforce, so please forgive me if this is a stupid question.

Assuming 3000 & 3050 are changelist numbers, could somebody explain
what this command should do:

p4 changes //path/to/branch/... at 3000, at 3050

I am expecting it to print all changelists between 3000 - 3050 that
affect files under //path/to/branch/....  It seems to do this.

Now, what about with a -i, like p4 changes -i //path/to/branch/... at 3000, at 3050

I would now expect the same list, but with integrations included -
still within the range 3000-3050.  In actual fact, I am getting a huge
list of files, which a range way outside the 3000-3050 that I have
asked for and I don't understand why.

What I am trying to do is find out what CLs affected a branch between
two releases.  So I have R1 which was done at CL3000 and R2 which was
done at 3050 and I want to know what changelists affected files under
this codeline between them two.

I have subcontractors working in their own personal spaces, which are
integrated from time to time back into the main line - and I want to
include these integrations in the list also - so I add the -i, but
then I no longer get a list confined to the two change lists I have
specfied.

I have tried reading p4 help undoc and doing something like
@\>=3000,@\<=3050, but I assume thats what it's doing anyway by
default.

Many thanks.


More information about the perforce-user mailing list