hgext/largefiles/overrides.py
changeset 18012 848c428bb5ee
parent 17894 afa7e6fa820b
child 18066 abe9799a86d6
--- a/hgext/largefiles/overrides.py	Mon Oct 08 20:01:40 2012 +0200
+++ b/hgext/largefiles/overrides.py	Mon Oct 08 18:11:56 2012 +0200
@@ -1064,6 +1064,9 @@
 # Calling purge with --all will cause the largefiles to be deleted.
 # Override repo.status to prevent this from happening.
 def overridepurge(orig, ui, repo, *dirs, **opts):
+    # XXX large file status is buggy when used on repo proxy.
+    # XXX this needs to be investigate.
+    repo = repo.unfiltered()
     oldstatus = repo.status
     def overridestatus(node1='.', node2=None, match=None, ignored=False,
                         clean=False, unknown=False, listsubrepos=False):