Show More
@@ -61,9 +61,7 b' class Purge(object):' | |||
|
61 | 61 | self._ui.warn(_('warning: %s\n') % msg) |
|
62 | 62 | |
|
63 | 63 | def _remove_file(self, name): |
|
64 | # dirstate.state() requires a path relative to the root | |
|
65 | # directory. | |
|
66 | if self._repo.dirstate.state(name) != '?': | |
|
64 | if name in self._repo.dirstate: | |
|
67 | 65 | return |
|
68 | 66 | self._ui.note(_('Removing file %s\n') % name) |
|
69 | 67 | if self._act: |
General Comments 0
You need to be logged in to leave comments.
Login now