changeset 7218:1bd7f90465b3

inotify: auto-start by default when enabled
author Matt Mackall <mpm@selenic.com>
date Wed, 22 Oct 2008 19:40:29 -0500
parents 9fa2f8dcb869
children 1f6d2e487135
files hgext/inotify/__init__.py tests/test-inotify-issue1208.out
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/inotify/__init__.py	Wed Oct 22 17:41:41 2008 -0500
+++ b/hgext/inotify/__init__.py	Wed Oct 22 19:40:29 2008 -0500
@@ -64,7 +64,7 @@
                                    'removing it)\n'))
                     os.unlink(repo.join('inotify.sock'))
                 if err[0] in (errno.ECONNREFUSED, errno.ENOENT) and \
-                        ui.configbool('inotify', 'autostart'):
+                        ui.configbool('inotify', 'autostart', True):
                     query = None
                     ui.debug(_('(starting inotify server)\n'))
                     try:
--- a/tests/test-inotify-issue1208.out	Wed Oct 22 17:41:41 2008 -0500
+++ b/tests/test-inotify-issue1208.out	Wed Oct 22 19:40:29 2008 -0500
@@ -1,5 +1,5 @@
 % fail
-failed to contact inotify server: No such file or directory
+could not talk to new inotify server: No such file or directory
 abort: could not start server: File exists
 % inserve
 % status