mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
merge with -stable
This commit is contained in:
commit
9ceefedcef
@ -14,7 +14,14 @@ import os, select, socket, stat, struct, sys
|
||||
def query(ui, repo, names, match, ignored, clean, unknown=True):
|
||||
sock = socket.socket(socket.AF_UNIX)
|
||||
sockpath = repo.join('inotify.sock')
|
||||
sock.connect(sockpath)
|
||||
try:
|
||||
sock.connect(sockpath)
|
||||
except socket.error, err:
|
||||
if err[0] == "AF_UNIX path too long":
|
||||
sockpath = os.readlink(sockpath)
|
||||
sock.connect(sockpath)
|
||||
else:
|
||||
raise
|
||||
|
||||
def genquery():
|
||||
for n in names or []:
|
||||
|
@ -1,9 +1,7 @@
|
||||
% fail
|
||||
failed to contact inotify server: AF_UNIX path too long
|
||||
failed to contact inotify server: No such file or directory
|
||||
deactivating inotify
|
||||
abort: could not start server: File exists
|
||||
% inserve
|
||||
% status
|
||||
failed to contact inotify server: AF_UNIX path too long
|
||||
deactivating inotify
|
||||
? hg.pid
|
||||
|
Loading…
Reference in New Issue
Block a user