changeset 23503:ca54fb3d71ce

largefiles: drop the unfiltered repo usage in overridepurge() Now that repoview supports replacing methods, we don't need this hack.
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 07 Dec 2014 10:54:29 -0500
parents ced3ecfc2e57
children e172a1f2b5bb
files hgext/largefiles/overrides.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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):