Mercurial > hg
view mercurial/templates/spartan/index.tmpl @ 26312:60558319ce72
ui: avoid mutable default arguments
I almost introduced a bug around this code by accidentally mutating a default
argument. There's no reason for these to exist.
It is OK to not assign {} to environ in ui.system because util.system knows how
to deal with that.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Tue, 22 Sep 2015 16:56:34 -0700 |
parents | bebb05a7e249 |
children |
line wrap: on
line source
{header} <title>Mercurial repositories index</title> </head> <body> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> <table> <tr> <td><a href="?sort={sort_name}">Name</a></td> <td><a href="?sort={sort_description}">Description</a></td> <td><a href="?sort={sort_contact}">Contact</a></td> <td><a href="?sort={sort_lastchange}">Last modified</a></td> <td> </td> </tr> {entries%indexentry} </table> {footer}