changeset 4907:6a7659a0c07c

dirstate: make filterfiles private
author Matt Mackall <mpm@selenic.com>
date Sat, 21 Jul 2007 16:02:09 -0500
parents 30847b8af7ca
children 8c294ee7047e
files mercurial/dirstate.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dirstate.py	Sat Jul 21 16:02:09 2007 -0500
+++ b/mercurial/dirstate.py	Sat Jul 21 16:02:09 2007 -0500
@@ -274,7 +274,7 @@
         st.rename()
         self._dirty = False
 
-    def filterfiles(self, files):
+    def _filter(self, files):
         ret = {}
         unknown = []
 
@@ -345,7 +345,7 @@
             dc = self._map.copy()
         else:
             files = util.unique(files)
-            dc = self.filterfiles(files)
+            dc = self._filter(files)
 
         def imatch(file_):
             if file_ not in dc and self._ignore(file_):