[PATCH 5/5]: cleaning the template parent management in hgweb

Matt Mackall mpm at selenic.com
Sat Jul 2 20:47:40 UTC 2005


On Sat, Jul 02, 2005 at 05:10:07PM +0200, Goffredo Baroncelli wrote:
> Hi,
> 
> the template pages contain two entry named #parent1# and #parent2#; this is no good
> because with the template system implemented in hgweb both the functions 
> can be replaced with only one entry named "#parent#".
> The code in hgweb will replace this tag with the appropriate number of parents ( one, two...
> or more if and when will be used ).
> 
> The first two patch perform this change in two step: 
> 1) change the code to manage only one entry ( #parent1# )
> 2) remove any reference to #parent2#, and change both the code and the templates to
>    rename #parent1# in #parent2#
> 
> the last three patchs are clean-up.
> 
> The patch are five
> 
> - patch #5
> remove the unused function hgweb.parent()

Ok, 1, 2, 3, and 5 are applied. Please rework 4 to keep the elements,
but with the new style.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list