comparison mercurial/cmdutil.py @ 14220:21b8ce4d3331

rename path_auditor to pathauditor The Mercurial 1.9 release is moving a lot of stuff around anyway and we are already moving path_auditor from util.py to scmutil.py for that release. So this seems like a good opportunity to do such a rename. It also strengthens the current project policy to avoid underbars in names.
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 06 May 2011 09:54:06 +0200
parents 135e244776f0
children df2399663392
comparison
equal deleted inserted replaced
14219:c33427080671 14220:21b8ce4d3331
284 dry_run = opts.get('dry_run') 284 dry_run = opts.get('dry_run')
285 if similarity is None: 285 if similarity is None:
286 similarity = float(opts.get('similarity') or 0) 286 similarity = float(opts.get('similarity') or 0)
287 # we'd use status here, except handling of symlinks and ignore is tricky 287 # we'd use status here, except handling of symlinks and ignore is tricky
288 added, unknown, deleted, removed = [], [], [], [] 288 added, unknown, deleted, removed = [], [], [], []
289 audit_path = scmutil.path_auditor(repo.root) 289 audit_path = scmutil.pathauditor(repo.root)
290 m = match(repo, pats, opts) 290 m = match(repo, pats, opts)
291 for abs in repo.walk(m): 291 for abs in repo.walk(m):
292 target = repo.wjoin(abs) 292 target = repo.wjoin(abs)
293 good = True 293 good = True
294 try: 294 try: