changeset 8573:62c996d543e6

match: kill unused defaults on _globre
author Matt Mackall <mpm@selenic.com>
date Sun, 24 May 2009 02:56:14 -0500
parents dd46948a07fa
children 63a7ed2128d5
files mercurial/match.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 = ''