diff -r fed8d078840b -r 6d5a62a549fa mercurial/util.py --- a/mercurial/util.py Fri Aug 26 02:03:35 2005 -0700 +++ b/mercurial/util.py Fri Aug 26 13:06:58 2005 +0200 @@ -27,7 +27,7 @@ def always(fn): return True def never(fn): return False -def globre(pat, head = '^', tail = '$'): +def globre(pat, head='^', tail='$'): "convert a glob pattern into a regexp" i, n = 0, len(pat) res = '' @@ -98,7 +98,7 @@ else: raise Abort('%s not under repository root' % myname) -def matcher(repo, cwd, names, inc, exc, head = ''): +def matcher(repo, cwd, names, inc, exc, head=''): def patkind(name): for prefix in 're:', 'glob:', 'path:', 'relpath:': if name.startswith(prefix): return name.split(':', 1)