author | Martin von Zweigbergk <martinvonz@gmail.com> |
Fri, 03 Oct 2014 10:38:43 -0700 | |
changeset 22920 | e049338d1a7b |
parent 22919 | 1982bdb7e2cc |
child 22921 | 75e7d4a0f135 |
hgext/purge.py | file | annotate | diff | comparison | revisions |
--- a/hgext/purge.py Fri Oct 03 22:10:08 2014 -0700 +++ b/hgext/purge.py Fri Oct 03 10:38:43 2014 -0700 @@ -102,7 +102,7 @@ status = repo.status(match=match, ignored=opts['all'], unknown=True) if removefiles: - for f in sorted(status[4] + status[5]): + for f in sorted(status.unknown + status.ignored): if act: ui.note(_('removing file %s\n') % f) remove(util.unlink, f)