Child pages
  • Mq patch queue instructions

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Formatting and CODE tags, typo fixes

Currently for most consolidations that are been updated upstream outside openindiana OpenIndiana, we maintain a mq patch queue that holds our difference from the upstream.

We have a standardised 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.
Edit your your ~/.hgrc file and add

Code Block
[extensions]

...


mq =

I'll use slim_source (caimen see Caiman consolidation) and revision 151 as an example, but you can simply change both to other consolidations.

  1. First get the main non-mq repo:

    Code Block
    hg clone http://hg.openindiana.org/slim_source

...

  1. Then update to the revision you are working on:

    Code Block
    cd slim_source

...

  1. 
    hg update Build151
  2. Then get the mq repo into .hg/patches:

    Code Block
    hg clone http://hg.openindiana.org/mq_slim_source.hg/patches

...

  1. And now apply (push) all the patches:

    Code Block
    hg qpush -a

Now you have the latest openindiana OpenIndiana patched version of the consolidation.

Note: the qclone facility normally used to automate some of this, doesn't appear to work with the openindiana OpenIndiana mq patch repo, so we have to use the two clone method described above.