How to handle a merge problem

David Holmes david.holmes at
Tue Jan 31 02:56:38 UTC 2012


On 31/01/2012 12:45 PM, Pete Brunet wrote:
> I just did the following:
> sh ./
> and got this:
> <snip>
> # cd ./jdk&&  hg pull -u
> pulling from
> searching for changes
> adding changesets
> adding manifests
> adding file changes
> added 563 changesets with 3123 changes to 2661 files (+1 heads)
> not updating: crosses branches (merge branches or update --check to
> force update)
> # exit code 0

This shouldn't be possible. get_source will first clone the repos then 
do a hg pull (why? Given it just cloned it!)

It may be that you were extremely unlucky and between the clone and the 
pull there was an integration push to the repo. Even so you shouldn't 
get multiple heads. ???

> How do I fix this?  I haven't found instructions on the various OpenJDK
> sites.

Delete the jdk repo and start again is all I can suggested to get back 
to a sane state.


> Pete

More information about the build-dev mailing list