[PATCH 3 of 3] hgweb: use archivespecs for links on repo index page too

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Jan 11 02:45:51 EST 2017



On 01/11/2017 03:53 AM, Anton Shestakov wrote:
> # HG changeset patch
> # User Anton Shestakov <av6 at dwimlabs.net>
> # Date 1484062918 -28800
> #      Tue Jan 10 23:41:58 2017 +0800
> # Node ID e0ed84e1828ad1763c2a0e9ba4e66cf35847cf6f
> # Parent  371a1ab6cf5054605d63ba497153115f2117ef10
> hgweb: use archivespecs for links on repo index page too
>
> Moving archivespecs to the module level allows using it from other modules
> (such as hgwebdir_mod), and keeping a reference to it in requestcontext allows
> current code to just work.

These are pushed, thanks.

Cheers,

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list