Show More
@@ -1064,6 +1064,9 b' def scmutiladdremove(orig, repo, pats=[]' | |||||
1064 | # Calling purge with --all will cause the largefiles to be deleted. |
|
1064 | # Calling purge with --all will cause the largefiles to be deleted. | |
1065 | # Override repo.status to prevent this from happening. |
|
1065 | # Override repo.status to prevent this from happening. | |
1066 | def overridepurge(orig, ui, repo, *dirs, **opts): |
|
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 | oldstatus = repo.status |
|
1070 | oldstatus = repo.status | |
1068 | def overridestatus(node1='.', node2=None, match=None, ignored=False, |
|
1071 | def overridestatus(node1='.', node2=None, match=None, ignored=False, | |
1069 | clean=False, unknown=False, listsubrepos=False): |
|
1072 | clean=False, unknown=False, listsubrepos=False): |
@@ -14,6 +14,7 b' import os' | |||||
14 | from mercurial import context, error, manifest, match as match_, util |
|
14 | from mercurial import context, error, manifest, match as match_, util | |
15 | from mercurial import node as node_ |
|
15 | from mercurial import node as node_ | |
16 | from mercurial.i18n import _ |
|
16 | from mercurial.i18n import _ | |
|
17 | from mercurial import localrepo | |||
17 |
|
18 | |||
18 | import lfcommands |
|
19 | import lfcommands | |
19 | import proto |
|
20 | import proto | |
@@ -88,6 +89,9 b' def reposetup(ui, repo):' | |||||
88 | # appropriate list in the result. Also removes standin files |
|
89 | # appropriate list in the result. Also removes standin files | |
89 | # from the listing. Revert to the original status if |
|
90 | # from the listing. Revert to the original status if | |
90 | # self.lfstatus is False. |
|
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 | def status(self, node1='.', node2=None, match=None, ignored=False, |
|
95 | def status(self, node1='.', node2=None, match=None, ignored=False, | |
92 | clean=False, unknown=False, listsubrepos=False): |
|
96 | clean=False, unknown=False, listsubrepos=False): | |
93 | listignored, listclean, listunknown = ignored, clean, unknown |
|
97 | listignored, listclean, listunknown = ignored, clean, unknown |
General Comments 0
You need to be logged in to leave comments.
Login now