[PATCH] hgweb: allow switching to original style when other style is used as default

TK Soh teekaysoh at gmail.com
Wed Mar 29 07:18:52 UTC 2006


On 3/29/06, Thomas Arendsen Hein <thomas at intevation.de> wrote:
> I don't like this approach.
>
> It would be better to add ;style=something only if 'something'
> doesn't match the default style.
>
> This would make gitweb URLs shorter, too, if someone set this to be
> the default style.

I thought it was kinda dirty too, but I was thinking about a quick fix
to get things going. Perhaps more importantly, it doesn't required
adding the intelligence for detecting the default style, which can be
a bit tricky [to me]. Unless, of course, you already have an idea how
to handle this in a clean way?




More information about the Mercurial mailing list