Differences between revisions 8 and 9
Revision 8 as of 2012-08-26 17:15:15
Size: 1062
Editor: c-50-131-222-29
Comment:
Revision 9 as of 2012-08-26 17:16:06
Size: 1067
Editor: c-50-131-222-29
Comment: bugs
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
Line 21: Line 22:
* hg status w/ inotify reports files in nested repositories as unknown - http://bz.selenic.com/show_bug.cgi?id=2319 *  [[http://bz.selenic.com/show_bug.cgi?id=2319|hg status w/ inotify reports files in nested repositories as unknown]]

The Inotify Bug

If you're seeing incorrect results from 'hg status' and are running a Debian or Ubuntu system, you're probably a victim of 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=!

== Bugs ==

* hg status w/ inotify reports files in nested repositories as unknown


CategoryBugs CategoryTipsAndTricks

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