comparison mercurial/commands.py @ 4309:d4f0405fadac

Merge last few matcher/locate fixes.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Wed, 04 Apr 2007 04:22:08 -0300
parents cb6107f78b92 a5cde03cd019
children aa26759c6fb3
comparison
equal deleted inserted replaced
4302:d69bdc1091b8 4309:d4f0405fadac
1656 else: 1656 else:
1657 node = None 1657 node = None
1658 1658
1659 ret = 1 1659 ret = 1
1660 for src, abs, rel, exact in cmdutil.walk(repo, pats, opts, node=node, 1660 for src, abs, rel, exact in cmdutil.walk(repo, pats, opts, node=node,
1661 badmatch=util.always,
1661 default='relglob'): 1662 default='relglob'):
1663 if src == 'b':
1664 continue
1662 if not node and repo.dirstate.state(abs) == '?': 1665 if not node and repo.dirstate.state(abs) == '?':
1663 continue 1666 continue
1664 if opts['fullpath']: 1667 if opts['fullpath']:
1665 ui.write(os.path.join(repo.root, abs), end) 1668 ui.write(os.path.join(repo.root, abs), end)
1666 else: 1669 else: