Show More
@@ -1984,7 +1984,7 b' def add(ui, repo, match, dryrun, listsub' | |||
|
1984 | 1984 | cca = scmutil.casecollisionauditor(ui, abort, repo.dirstate) |
|
1985 | 1985 | for f in wctx.walk(match): |
|
1986 | 1986 | exact = match.exact(f) |
|
1987 | if exact or not explicitonly and f not in wctx: | |
|
1987 | if exact or not explicitonly and f not in wctx and repo.wvfs.exists(f): | |
|
1988 | 1988 | if cca: |
|
1989 | 1989 | cca(f) |
|
1990 | 1990 | names.append(f) |
General Comments 0
You need to be logged in to leave comments.
Login now