Differences between revisions 5 and 6
Revision 5 as of 2010-10-13 21:19:57
Size: 911
Editor: mpm
Comment:
Revision 6 as of 2010-10-15 00:50:22
Size: 920
Editor: mpm
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
Debian and Ubuntu packages of Mercurial up to the 1.2 timeframe included configuration files in '''/etc/mercurial''' that incorrectly enabled many extensions, including the experimental InotifyExtension extension. Mercurial extensions are defined as functionality that should not be enabled by default, and recent versions of these packages have removed these settings. Debian and Ubuntu packages of Mercurial up to the 1.2 timeframe included configuration files in ''`/etc/mercurial`'' that incorrectly enabled many extensions, including the experimental InotifyExtension extension. Mercurial extensions are defined as functionality that should not be enabled by default, and recent versions of these packages have removed these settings.
Line 11: Line 11:
If you can't modify the global '''hgrc''', you can still disable the extension by putting the following in your local hgrc: If you can't modify the global ''`hgrc`'', you can still disable the extension by putting the following in your local ''`~/.hgrc`'':

The Inotify Bug

If you're seeing incorrect results from 'hg status' and are running a Debian or Ubuntu system, you're probably victim to the 'inotify bug'. You can quickly check whether inotify is enabled with:

$ hg showconfig | grep inotify
extensions.inotify

Debian and Ubuntu packages of Mercurial up to the 1.2 timeframe included configuration files in /etc/mercurial that incorrectly enabled many extensions, including the experimental InotifyExtension extension. Mercurial extensions are defined as functionality that should not be enabled by default, and recent versions of these packages have removed these settings.

If you can't modify the global hgrc, you can still disable the extension by putting the following in your local ~/.hgrc:

[extensions]
# inotify is still experimental
hgext.inotify=!


CategoryBugs CategoryTipsAndTricks

InotifyBug (last edited 2012-08-26 17:17:03 by c-50-131-222-29)