changeset 23634:bbd50e13c006

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 17 Dec 2014 12:10:16 -0800
parents 96c3cbec006f
children faec11cfb645
files hgext/largefiles/overrides.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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):