Kill dead function.
authorBryan O'Sullivan <bos@serpentine.com>
Sun, 07 Aug 2005 11:09:21 -0800
changeset 869 1e3a23719662
parent 868 6a8a50bcc143
child 870 a82eae840447
Kill dead function.
mercurial/util.py
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -90,10 +90,6 @@ def matcher(cwd, names, inc, exc, head =
         if name == '.': name = '**'
         return head + globre(name, '', tail)
 
-    def under(fn):
-        """check if fn is under our cwd"""
-        return not cwd or fn.startswith(cwdsep)
-
     def matchfn(pats, tail):
         """build a matching function from a set of patterns"""
         if pats: