largefile: backout ca54fb3d71ce
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 17 Dec 2014 12:10:16 -0800
changeset 23634 bbd50e13c006
parent 23633 96c3cbec006f
child 23635 faec11cfb645
largefile: backout ca54fb3d71ce The hack for method monkey patching on repoview has been ruled out as fragile, so we are rolling it back. We'll expand the explanation in the next changeset.
hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py	Thu Dec 18 12:33:17 2014 -0800
+++ b/hgext/largefiles/overrides.py	Wed Dec 17 12:10:16 2014 -0800
@@ -1122,6 +1122,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):