diff hgext/inotify/client.py @ 6753:ed5ffb2c12f3

repo.status: eliminate list_
author Matt Mackall <mpm@selenic.com>
date Thu, 26 Jun 2008 14:35:50 -0500
parents 39cfcef4f463
children ab57069232b4
line wrap: on
line diff
--- a/hgext/inotify/client.py	Thu Jun 26 14:35:50 2008 -0500
+++ b/hgext/inotify/client.py	Thu Jun 26 14:35:50 2008 -0500
@@ -11,7 +11,7 @@
 import common
 import os, select, socket, stat, struct, sys
 
-def query(ui, repo, names, match, list_ignored, list_clean, list_unknown=True):
+def query(ui, repo, names, match, ignored, clean, unknown=True):
     sock = socket.socket(socket.AF_UNIX)
     sockpath = repo.join('inotify.sock')
     sock.connect(sockpath)
@@ -20,10 +20,10 @@
         for n in names or []:
             yield n
         states = 'almrx!'
-        if list_ignored:
+        if ignored:
             raise ValueError('this is insanity')
-        if list_clean: states += 'n'
-        if list_unknown: states += '?'
+        if clean: states += 'n'
+        if unknown: states += '?'
         yield states
 
     req = '\0'.join(genquery())