This is an old revision of the document!
Prepare the experimental wok
Warning
Before using the experimental wok, it's advised to read and understand the Advanced usage of Mercurial, as the experimental wok use MQ to handle the patch queue.
Please note that the source code, wok & packages use a lot of space: don't stock all that into you're RAM unless you're sure that all will run fine. If you use a live system, you can use a physical disk to stock data using the boot option home=; You can also mount de disk (i.e.: on /mnt).
Enabling Mercurial Queue
The experimental wok is shared as patches which can't be integrated into cooking wok for now. To use them, you need the extension MQ; So you're ~/.hgrc should contains theses lines:
[extensions] mq =
Download cooking wok & patch it
First check that the destination disk is mounted. In the directory which will contains the data, create a repertory called experimental and enter in it:
cd destination mkdir experimental cd experimental
Download the wok :
hg clone http://hg.slitaz.org/wok wok
If you was root, give read/write permissions to you're normal account; then exit the root one:
chown tux.tux -R wok
The patches will apply well on the revisions for which they was created, but problems can appears with other revisions. The revisions correlated to the last update of the patches can be found here: http://hg.slitaz.org/wok-experimental. Update the wok to the good revision:
hg update -C rev
Download experimental patches:
cd .hg hg clone http://hg.slitaz.org/wok-experimental patches
Apply patches:
cd .. hg qpush -a
Update the experimental wok
Go into the wok:
cd ?/wok
Unapply patches (don't works if modifications are uncommitted):
hg qpop-a
Update cooking wok:
hg pull
Check the revision to use at http://hg.slitaz.org/wok-experimental and update the working directory to this revision:
hg update -C rev
Update patches repository:
cd .hg/patches hg pull -u
Apply the new patches:
cd ../.. hg qpush -a