equal
deleted
inserted
replaced
490 if kind == 'glob': |
490 if kind == 'glob': |
491 root = globprefix(name) |
491 root = globprefix(name) |
492 roots.append(root) |
492 roots.append(root) |
493 elif kind in ('relpath', 'path'): |
493 elif kind in ('relpath', 'path'): |
494 files.append((kind, name)) |
494 files.append((kind, name)) |
495 roots.append(name) |
495 roots.append(name or '.') |
496 elif kind == 'relglob': |
496 elif kind == 'relglob': |
497 roots.append('.') |
497 roots.append('.') |
498 return roots, pats + files, anypats |
498 return roots, pats + files, anypats |
499 |
499 |
500 roots, pats, anypats = normalizepats(names, dflt_pat) |
500 roots, pats, anypats = normalizepats(names, dflt_pat) |