hgext/purge.py
changeset 22920 e049338d1a7b
parent 22265 fe22d86a8992
child 25186 80c5b2666a96
--- 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)