--- 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 = ''