[PATCH 2 of 3] Eliminate dead code
Bryan O'Sullivan
bos at serpentine.com
Tue Aug 9 23:11:33 CDT 2005
# HG changeset patch
# User Bryan O'Sullivan <bos at serpentine.com>
# Node ID 1e3a237196624645ae2a8dd11d51fcbc8fa75f53
# Parent 6a8a50bcc14380c142865158fbfc4bd1d0e53eca
Kill dead function.
diff -r 6a8a50bcc143 -r 1e3a23719662 mercurial/util.py
--- a/mercurial/util.py Sun Aug 7 19:04:58 2005
+++ b/mercurial/util.py Sun Aug 7 19:09:21 2005
@@ -90,10 +90,6 @@
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:
More information about the Mercurial
mailing list