[PATCH STABLE] largefiles: restore archiving largefiles with hgweb (issue4859)
Yuya Nishihara
yuya at tcha.org
Wed Sep 30 15:52:17 UTC 2015
On Wed, 30 Sep 2015 00:06:36 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1443583784 14400
> # Tue Sep 29 23:29:44 2015 -0400
> # Branch stable
> # Node ID a80c438b5f00f107cd866e7320a466a102c4bffd
> # Parent c15d8f84343e83c03ee11523ee1f00359ae94477
> 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.
I think wrapfunction() is good. It is working because webcommands.commands
table isn't used except for generating help messages.
If someone try to replace getattr(webcommands, cmd) by webcommands.commands[cmd],
he will be blamed by the test.
More information about the Mercurial-devel
mailing list