Size: 1615
Comment: Instructions for using Bryan's python inotify bindings.
|
Size: 493
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
== Inotify Extension == '''This extension is not distributed with Mercurial.''' ''Author: Bryan O'Sullivan'' Download site: [http://hg.kublai.com/mercurial/extensions/inotify] It also requires Bryan's [http://hg.kublai.com/python/inotify python bindings for inotify]. === Overview === This extension uses the linux 2.6 inotify API to make status instantaneous for even very large repositories, by subscribing to the paths in the repository instead of having to check them all at every status command. === Installation === The inotify extension requires Bryan's [http://hg.kublai.com/python/inotify python bindings for inotify]. You can either install them the normal way (via {{{setup.py}}}) or do an in-place build {{{setup.py build_ext -i}}}, then create a symlink from the inotify directory into the inotify extension directory. For example: {{{ $ hg clone http://hg.kublai.com/python/inotify python-inotify $ cd python-inotify $ python setup.py build_ext -i $ cd .. $ hg clone http://hg.kublai.com/mercurial/extensions/inotify $ cd inotify $ ln -s ../python-inotify/inotify . }}} The extension should now be ready to use. === Configuration === Configure your .hgrc to enable the extension by adding following lines: {{{ [extensions] inotify=/path/to/inotify }}} You can either start up the inotify extension on a repository with {{{hg inserve}}} or have it autostart with the following .hgrc snippet (either global or in the repository {{{.hg/hgrc}}} in which you would like to use inotify: {{{ [inotify] autostart = true }}} ---- CategoryExtension |
The writer is referred to as Rutha Leblanc and she feels snug when persons use the full title. To preserve bees is a thing she genuinely enjoys executing. Administering databases is what she does in her working day occupation but before long she'll be on her personal. Arkansas is in which he is often been living but now she is considering other possibilities. If you want to find out extra test out his website: http://elleandelle.com/swift-methods-of-brazilian-wax-straightforward-advice/ |
The writer is referred to as Rutha Leblanc and she feels snug when persons use the full title. To preserve bees is a thing she genuinely enjoys executing. Administering databases is what she does in her working day occupation but before long she'll be on her personal. Arkansas is in which he is often been living but now she is considering other possibilities. If you want to find out extra test out his website: http://elleandelle.com/swift-methods-of-brazilian-wax-straightforward-advice/