Differences between revisions 3 and 4
Revision 3 as of 2009-09-02 12:35:06
Size: 861
Editor: tonfa
Comment: how to disable
Revision 4 as of 2010-10-13 21:18:15
Size: 920
Editor: mpm
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
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: If you're seeing incorrect results from '`hg status`' and are running a '''Debian, Ubuntu, or Gentoo''' system, you're probably victim to the 'inotify bug'. You can quickly check whether inotify is enabled with:
Line 8: Line 8:
Line 17: Line 18:

----

CategoryBugs CategoryTipsAndTricks

The Inotify Bug

If you're seeing incorrect results from 'hg status' and are running a Debian, Ubuntu, or Gentoo 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)