##// END OF EJS Templates
largefile: status is buggy on repoproxy, so run unfiltered...
Pierre-Yves David -
r18012:848c428b default
parent child Browse files
Show More
@@ -1064,6 +1064,9 b' def scmutiladdremove(orig, repo, pats=[]'
1064 1064 # Calling purge with --all will cause the largefiles to be deleted.
1065 1065 # Override repo.status to prevent this from happening.
1066 1066 def overridepurge(orig, ui, repo, *dirs, **opts):
1067 # XXX large file status is buggy when used on repo proxy.
1068 # XXX this needs to be investigate.
1069 repo = repo.unfiltered()
1067 1070 oldstatus = repo.status
1068 1071 def overridestatus(node1='.', node2=None, match=None, ignored=False,
1069 1072 clean=False, unknown=False, listsubrepos=False):
@@ -14,6 +14,7 b' import os'
14 14 from mercurial import context, error, manifest, match as match_, util
15 15 from mercurial import node as node_
16 16 from mercurial.i18n import _
17 from mercurial import localrepo
17 18
18 19 import lfcommands
19 20 import proto
@@ -88,6 +89,9 b' def reposetup(ui, repo):'
88 89 # appropriate list in the result. Also removes standin files
89 90 # from the listing. Revert to the original status if
90 91 # self.lfstatus is False.
92 # XXX large file status is buggy when used on repo proxy.
93 # XXX this needs to be investigated.
94 @localrepo.unfilteredmeth
91 95 def status(self, node1='.', node2=None, match=None, ignored=False,
92 96 clean=False, unknown=False, listsubrepos=False):
93 97 listignored, listclean, listunknown = ignored, clean, unknown
General Comments 0
You need to be logged in to leave comments. Login now