mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
inotify: friendlier message when daemon not running
This commit is contained in:
parent
e564d351f3
commit
7989382568
@ -85,6 +85,8 @@ def reposetup(ui, repo):
|
||||
except socket.error, err:
|
||||
ui.warn(_('could not talk to new inotify '
|
||||
'server: %s\n') % err[-1])
|
||||
elif err[0] == errno.ENOENT:
|
||||
ui.warn(_('(inotify server not running)\n'))
|
||||
else:
|
||||
ui.warn(_('failed to contact inotify server: %s\n')
|
||||
% err[-1])
|
||||
|
Loading…
Reference in New Issue
Block a user