largefiles: drop the unfiltered repo usage in overridepurge()
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 07 Dec 2014 10:54:29 -0500
changeset 23503 ca54fb3d71ce
parent 23502 ced3ecfc2e57
child 23504 e172a1f2b5bb
largefiles: drop the unfiltered repo usage in overridepurge() Now that repoview supports replacing methods, we don't need this hack.
hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py	Sun Dec 07 10:52:56 2014 -0500
+++ b/hgext/largefiles/overrides.py	Sun Dec 07 10:54:29 2014 -0500
@@ -1110,9 +1110,6 @@
 # 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):