comparison mercurial/commands.py @ 630:a58af3932cee

Remove debug print from locate code. # HG changeset patch # User Bryan O'Sullivan <bos@serpentine.com> # Node ID 5240abb57899b745f2e6465be29d9d54c4777364 # Parent 13b74665cbdf735a91f231956d0fe73e446340ea Remove debug print from locate code. Index: hg/mercurial/commands.py ===================================================================
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 05 Jul 2005 18:22:28 -0800
parents 8d7f6e68828a
children 8b8f710bb658
comparison
equal deleted inserted replaced
629:2fdf3b1659b9 630:a58af3932cee
644 regexp = r'%s(?:%s)%s' % ( 644 regexp = r'%s(?:%s)%s' % (
645 head, 645 head,
646 '|'.join([fnmatch.translate(os.path.normpath(os.path.normcase(p)))[:-1] 646 '|'.join([fnmatch.translate(os.path.normpath(os.path.normcase(p)))[:-1]
647 for p in pats]), 647 for p in pats]),
648 tail) 648 tail)
649 print regexp
650 return re.compile(regexp) 649 return re.compile(regexp)
651 exclude = compile(opts['exclude'], on_empty = False) 650 exclude = compile(opts['exclude'], on_empty = False)
652 include = compile(opts['include']) 651 include = compile(opts['include'])
653 pat = compile([os.path.normcase(p) for p in pats], head = '', tail = '$') 652 pat = compile([os.path.normcase(p) for p in pats], head = '', tail = '$')
654 end = '\n' 653 end = '\n'