##// END OF EJS Templates
merge with -stable
Benoit Boissinot -
r7027:ab570692 merge default
parent child Browse files
Show More
@@ -14,7 +14,14 b' import os, select, socket, stat, struct,'
14 14 def query(ui, repo, names, match, ignored, clean, unknown=True):
15 15 sock = socket.socket(socket.AF_UNIX)
16 16 sockpath = repo.join('inotify.sock')
17 sock.connect(sockpath)
17 try:
18 sock.connect(sockpath)
19 except socket.error, err:
20 if err[0] == "AF_UNIX path too long":
21 sockpath = os.readlink(sockpath)
22 sock.connect(sockpath)
23 else:
24 raise
18 25
19 26 def genquery():
20 27 for n in names or []:
@@ -1,9 +1,7 b''
1 1 % fail
2 failed to contact inotify server: AF_UNIX path too long
2 failed to contact inotify server: No such file or directory
3 3 deactivating inotify
4 4 abort: could not start server: File exists
5 5 % inserve
6 6 % status
7 failed to contact inotify server: AF_UNIX path too long
8 deactivating inotify
9 7 ? hg.pid
General Comments 0
You need to be logged in to leave comments. Login now