match: kill unused defaults on _globre
authorMatt Mackall <mpm@selenic.com>
Sun, 24 May 2009 02:56:14 -0500
changeset 8573 62c996d543e6
parent 8572 dd46948a07fa
child 8574 63a7ed2128d5
match: kill unused defaults on _globre
mercurial/match.py
--- a/mercurial/match.py	Sun May 24 02:56:14 2009 -0500
+++ b/mercurial/match.py	Sun May 24 02:56:14 2009 -0500
@@ -65,7 +65,7 @@
 
 _globchars = set('[{*?')
 
-def _globre(pat, head='^', tail='$'):
+def _globre(pat, head, tail):
     "convert a glob pattern into a regexp"
     i, n = 0, len(pat)
     res = ''