diff -r 1982bdb7e2cc -r e049338d1a7b hgext/purge.py --- 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)