Differences between revisions 24 and 25
Revision 24 as of 2013-09-01 15:04:19
Size: 1714
Comment: removing spam
Revision 25 as of 2013-09-02 12:12:23
Size: 565
Editor: AdamLarry
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Inotify Extension =

''Authors: Bryan O'Sullivan, Nicolas Dumazet''

'''This extension has been included with Mercurial since version 1.0'''

<!> This feature is [[UnlovedFeatures|unloved]].

<!> This feature has known correctness issues. '''Do not use it if you care about your sanity.'''

== Overview ==

This extension makes status requests 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.

Inotify is currently a Linux-only extension, using the Linux 2.6 inotify API.

An alpha Mac OS port is now available: it uses the MacOS 10.5 FSEvents API through the [[http://pypi.python.org/pypi/pyfsevents|pyfsevents]] module. It can be tested by ''qcloning'' [[http://bitbucket.org/nicdumz/mercurial-crew-mq/|Nicolas's MQ]] (''hg qclone [url]; hg qpush -a'')

== Installation and configuration ==

To enable it, edit your hgrc:

{{{
[extensions]
inotify =
}}}

You can either enable it for each individual repository you need it in, or globally.

The extension contains both a server and a client component. By default, it will start automatically. To prevent this, edit either your global ~/.hgrc or .hg/hgrc in repositories where you don't want to use inotify:

{{{
[inotify]
autostart = False
}}}

The server runs in the background as a daemon when started automatically. To start it manually, use the command:

{{{
$ hg inserve [-d]
}}}

By default, the server output will be lost. You can use the ''log'' option to capture the server output:

{{{
[inotify]
log = '/tmp/inotify.log'
}}}

== See also ==

 * InotifyBug

----
CategoryBundledExtension
Lionel Stockstill is what is published on his birth certificate and he feels snug when people use the complete name. Administering databases is how he makes money. One of the pretty most effective points in the earth for him is playing crochet but he has not designed a dime with it. Arkansas has always been his living position. You can usually obtain his web site right here: http://christoperfovf.jigsy.com/entries/general/revitol-revitol-stretch-mark-cream-penetrates-the-damaged-skin-repairing-the-fibrous-proteins-that-cause-stretch-marks-in-the-first-place

Lionel Stockstill is what is published on his birth certificate and he feels snug when people use the complete name. Administering databases is how he makes money. One of the pretty most effective points in the earth for him is playing crochet but he has not designed a dime with it. Arkansas has always been his living position. You can usually obtain his web site right here: http://christoperfovf.jigsy.com/entries/general/revitol-revitol-stretch-mark-cream-penetrates-the-damaged-skin-repairing-the-fibrous-proteins-that-cause-stretch-marks-in-the-first-place

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