Show More
@@ -102,7 +102,7 b' def purge(ui, repo, *dirs, **opts):' | |||||
102 | status = repo.status(match=match, ignored=opts['all'], unknown=True) |
|
102 | status = repo.status(match=match, ignored=opts['all'], unknown=True) | |
103 |
|
103 | |||
104 | if removefiles: |
|
104 | if removefiles: | |
105 |
for f in sorted(status |
|
105 | for f in sorted(status.unknown + status.ignored): | |
106 | if act: |
|
106 | if act: | |
107 | ui.note(_('removing file %s\n') % f) |
|
107 | ui.note(_('removing file %s\n') % f) | |
108 | remove(util.unlink, f) |
|
108 | remove(util.unlink, f) |
General Comments 0
You need to be logged in to leave comments.
Login now