Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2007-04-25 18:51:25
Size: 694
Editor: BrendanCully
Comment: Link in python bindings
Revision 5 as of 2007-06-13 21:15:57
Size: 970
Editor: BrendanCully
Comment: inotify is standalone now
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
Download site: [http://hg.kublai.com/mercurial/patches/inotify] Download site: [http://hg.kublai.com/mercurial/extensions/inotify]
Line 23: Line 23:
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
}}}

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.

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

InotifyExtension (last edited 2014-03-24 01:53:35 by Rain)