1062 return result |
1062 return result |
1063 |
1063 |
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): |
1070 r = oldstatus(node1, node2, match, ignored, clean, unknown, |
1073 r = oldstatus(node1, node2, match, ignored, clean, unknown, |
1071 listsubrepos) |
1074 listsubrepos) |