##// END OF EJS Templates
inotify: files is always a list: 'files or []' is redundant...
Nicolas Dumazet -
r8067:b084d6d6 default
parent child Browse files
Show More
@@ -96,7 +96,7 b' def reposetup(ui, repo):'
96 96 '%s\n') % inst)
97 97 if query:
98 98 try:
99 return query(ui, repo, files or [], match,
99 return query(ui, repo, files, match,
100 100 ignored, clean, unknown)
101 101 except socket.error, err:
102 102 ui.warn(_('could not talk to new inotify '
@@ -23,7 +23,7 b' def query(ui, repo, names, match, ignore'
23 23 raise
24 24
25 25 def genquery():
26 for n in names or []:
26 for n in names:
27 27 yield n
28 28 states = 'almrx!'
29 29 if ignored:
General Comments 0
You need to be logged in to leave comments. Login now