[PATCH] hgweb: showDiffstat javascript function accepts flag argument

Kevin Bullock kbullock+mercurial at ringworld.org
Fri Jul 12 23:41:04 CDT 2013


On 12 Jul 2013, at 7:07 AM, Alexander Plavin wrote:

> # HG changeset patch
> # User Alexander Plavin <me at aplavin.ru>
> # Date 1373630471 -14400
> #      Fri Jul 12 16:01:11 2013 +0400
> # Node ID 6187d6255fd2a14d7d21e27cd0d86ce6f282a86c
> # Parent  965d2ac231bc500fabbdd21bd11b0333098511a1
> hgweb: showDiffstat javascript function accepts flag argument
> 
> This eliminates the need of another almost equal function hideDiffstat
> and makes the code cleaner.

In that case can we rename the function? Something like 'toggleDiffstat'?

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list