# HG changeset patch # User Bryan O'Sullivan # Date 1123441761 28800 # Node ID 1e3a237196624645ae2a8dd11d51fcbc8fa75f53 # Parent 6a8a50bcc14380c142865158fbfc4bd1d0e53eca Kill dead function. diff --git a/mercurial/util.py b/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: