mercurial/cmdutil.py
changeset 14220 21b8ce4d3331
parent 14168 135e244776f0
child 14232 df2399663392
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: