diff hgext/largefiles/uisetup.py @ 26417:9a466b9f9792 stable 3.5.2

largefiles: restore archiving largefiles with hgweb (issue4859) This regressed in 7699d3212994, when trying to conditionally disable archiving of largefiles. I'm not sure if wrapfunction() is the right way to do this, but it seems to work. The mysterious issue with lfstatus getting out of sync in the proxy and the unfiltered view crops up again here. See the referenced cset for more info.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 29 Sep 2015 23:29:44 -0400
parents 7699d3212994
children ef21a2c41629
line wrap: on
line diff
--- a/hgext/largefiles/uisetup.py	Thu Oct 01 11:09:36 2015 -0300
+++ b/hgext/largefiles/uisetup.py	Tue Sep 29 23:29:44 2015 -0400
@@ -119,6 +119,8 @@
     extensions.wrapfunction(archival, 'archive', overrides.overridearchive)
     extensions.wrapfunction(subrepo.hgsubrepo, 'archive',
                             overrides.hgsubrepoarchive)
+    extensions.wrapfunction(webcommands, 'archive',
+                            overrides.hgwebarchive)
     extensions.wrapfunction(cmdutil, 'bailifchanged',
                             overrides.overridebailifchanged)