[Mondrian] RE: Mondrian branch & release process

Will Gorman wgorman at pentaho.com
Mon Jun 23 09:52:26 CDT 2008


I'm starting to understand now... Thanks John for the additional hints.
I tried integrating again with the following command:

p4 integrate -c 11206 -b mondrian_dev_to_release_3.0 -t
-s //open/mondrian/... at 11048 //open/mondrian-release/3.0/...

I also tried:

p4 integrate -c 11206 -b mondrian_dev_to_release_3.0 @11048

I think they are equivalent commands, and I get the same message back
from the server:

//open/mondrian/... at 11048 - all revision(s) already integrated.

I'm not sure what I'm doing wrong.

I also noticed in the latest integration that it moved the files back to
the correct revisions (there is no mention of ivy in build.xml), but it
didn't delete the new files that were added since 11016.

I looked at the branch definition of mondrian_dev_to_release_3.0, how
does perforce know whether a change has already been integrated or not
into a branch?

Thanks,

Will

The message I get back

On Sun, 2008-06-22 at 10:37 -0700, Julian Hyde wrote:
> > Will Gorman wrote:
> >
> > I've checked out //open/mondrian-release/3.0 following your
> > instructions, I updated my p4 client, and did a sync
> > on //open/mondrian-release/3.0.  Do I need to do something 
> > special with
> > the sync?  The command I entered was "p4
> > sync //[myclient]/mondrian-release-3.0/...", and it looks like the
> > branch is at the latest revision vs. 11016 (the ivy files are present,
> > etc).
> 
> My mistake. I integrated too much of the history over to
> //open/mondrian-release/3.0. Fixed in change 11205.
> 
> > Do I need to execute a similar p4 sync //... at 11016 command 
> > like you did
> > in setting up the branch?
> > 
> > This may be the reason why my integrate commands are also not working,
> > but I wanted to verify the syntax, when trying to merge change 11017
> > with the branch:
> > 
> > "p4 integrate -n -c 11017 -b mondrian_dev_to_release_3.0"
> > 
> > At the moment this returns "Change 11017 is already 
> > committed.", but I'd
> > expect it to update the related changelist files to that version.
> 
> The '-c' flag tells perforce what changelist to put the integration records
> into. That change list then needs to be committed. Perforce correctly
> doesn't let you put those integration records into a changelist that has
> already been committed.
> 
> To integrate from a branch as of a particular change, you do something like
> this:
> 
> p4 change
> 
> (creates a new change list numbered xxxxx)
> 
> p4 integrate -c xxxxx -b mondrian_dev_to_release_3.0 -t -s
> //open/mondrian/... at 11016 //open/mondrian-release/3.0/...
> 
> (This was the command I used just now.)
> 
> p4 submit -c xxxxx
> 
> To edit code on the branch, you just need to set your client's view to
> include the branch, then sync to the latest revision.
> 
> Julian
> 
> 



More information about the Mondrian mailing list