inotify: auto-start by default when enabled

This commit is contained in:
Matt Mackall 2008-10-22 19:40:29 -05:00
parent 7989382568
commit 38344e11c6
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ def reposetup(ui, repo):
'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:

View File

@ -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