# HG changeset patch # User Nicolas Dumazet # Date 1260689756 -32400 # Node ID 527b86d55d4a9d2840022f2431f8d97795498b6b # Parent 613690ad6a9c19a08daa1b7702980d82e913cd3c inotify: update installation information inotify is shipped in Mercurial since 1.0, which greatly simplifies the installation process diff -r 613690ad6a9c -r 527b86d55d4a en/ch14-hgext.xml --- a/en/ch14-hgext.xml Sat Jul 10 16:21:26 2010 +0100 +++ b/en/ch14-hgext.xml Sun Dec 13 16:35:56 2009 +0900 @@ -139,75 +139,8 @@ The inotify extension is - not yet shipped with Mercurial as of May 2007, so it's a little - more involved to set up than other extensions. But the - performance improvement is worth it! - - The extension currently comes in two parts: a set of patches - to the Mercurial source code, and a library of Python bindings - to the inotify subsystem. - - There are two Python - inotify binding libraries. One of them is - called pyinotify, and is packaged by some - Linux distributions as python-inotify. - This is not the one you'll need, as it is - too buggy and inefficient to be practical. - - To get going, it's best to already have a functioning copy - of Mercurial installed. - - If you follow the instructions below, you'll be - replacing and overwriting any existing - installation of Mercurial that you might already have, using - the latest bleeding edge Mercurial code. Don't - say you weren't warned! - - - Clone the Python inotify - binding repository. Build and install it. - hg clone http://hg.kublai.com/python/inotify -cd inotify -python setup.py build --force -sudo python setup.py install --skip-build - - Clone the crew Mercurial repository. - Clone the inotify patch - repository so that Mercurial Queues will be able to apply - patches to your cope of the crew repository. - hg clone http://hg.intevation.org/mercurial/crew -hg clone crew inotify -hg clone http://hg.kublai.com/mercurial/patches/inotify inotify/.hg/patches - - Make sure that you have the Mercurial Queues - extension, mq, enabled. If - you've never used MQ, read to get started - quickly. - - Go into the inotify repo, and apply all - of the inotify patches - using the option to the qpush command. - cd inotify -hg qpush -a - - If you get an error message from qpush, you should not continue. - Instead, ask for help. - - Build and install the patched version of - Mercurial. - python setup.py build --force -sudo python setup.py install --skip-build - - - Once you've build a suitably patched version of Mercurial, - all you need to do to enable the inotify extension is add an entry to your ~/.hgrc. [extensions] inotify =