mercurial/cmdutil.py
changeset 13972 d1f4e7fd970a
parent 13971 bfeaa88b875d
child 14004 97ed99d1f419
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: