Currently for most consolidations that are been updated upstream outside OpenIndiana, we maintain a mq patch queue (see Mercurial Queues) that holds our difference from the upstream.
We have a standardized system for which to store and apply this to produce and build OpenIndiana versions.
Mq is a Mercurial extension and must be turned on before use.
~/.hgrc file and add
[extensions] mq =
slim_source (see Caiman consolidation) and revision 151 as an example, but you can simply change both to other consolidations.
First get the main non-mq repo:
hg clone http://hg.openindiana.org/slim_source
Then update to the revision you are working on:
cd slim_source hg update Build151
Then get the mq repo into
hg clone http://hg.openindiana.org/mq_slim_source.hg/patches
And now apply (push) all the patches:
hg qpush -a
Now you have the latest OpenIndiana patched version of the consolidation.
qclone facility normally used to automate some of this, doesn't appear to work with the OpenIndiana mq patch repo, so we have to use the two clone method described above.