comparison mercurial/cmdutil.py @ 13972:d1f4e7fd970a

move path_auditor from util to scmutil
author Adrian Buehlmann <adrian@cadifra.com>
date Wed, 20 Apr 2011 22:43:31 +0200
parents bfeaa88b875d
children 97ed99d1f419
comparison
equal deleted inserted replaced
13971:bfeaa88b875d 13972:d1f4e7fd970a
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 = util.path_auditor(repo.root) 289 audit_path = scmutil.path_auditor(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: