Show More
@@ -84,14 +84,11 b' def purge(ui, repo, *dirs, **opts):' | |||||
84 |
|
84 | |||
85 | directories = [] |
|
85 | directories = [] | |
86 | files = [] |
|
86 | files = [] | |
87 | missing = [] |
|
|||
88 | match = cmdutil.match(repo, dirs, opts) |
|
87 | match = cmdutil.match(repo, dirs, opts) | |
89 | match.dir = directories.append |
|
88 | match.dir = directories.append | |
90 | for src, f, st in repo.dirstate.statwalk(match.files(), match, |
|
89 | for src, f, st in repo.dirstate.statwalk(match.files(), match, | |
91 | ignored=ignored): |
|
90 | ignored=ignored): | |
92 | if src == 'm': |
|
91 | if src == 'f' and f not in repo.dirstate: | |
93 | missing.append(f) |
|
|||
94 | elif src == 'f' and f not in repo.dirstate: |
|
|||
95 | files.append(f) |
|
92 | files.append(f) | |
96 |
|
93 | |||
97 | directories.sort() |
|
94 | directories.sort() |
General Comments 0
You need to be logged in to leave comments.
Login now