hgweb.cgi shows closed branches

Dominik Psenner dpsenner at gmail.com
Tue Jan 25 07:00:31 CST 2011


I just checked the theme templates as Erik Zielke proposed and modified the
static template style-paper.css as follows:

189,190c189
< .tagEntry .closed { color: #99f; text-decoration: line-through; }
< .tagEntry .inactive { color: #44d; }
---
> .tagEntry .closed { color: #99f; }

At least this shows that the branch is closed. But with the current template
it is impossible to hide closed branches because the styles are applied to
the link only and not to the whole table row.

I hope this helps you creating a patch.

> -----Original Message-----
> From: timeless.bmo2 at gmail.com [mailto:timeless.bmo2 at gmail.com] On Behalf
> Of timeless
> Sent: Tuesday, January 25, 2011 1:45 PM
> To: Dominik Psenner
> Cc: mercurial-devel at selenic.com
> Subject: Re: hgweb.cgi shows closed branches
> 
> On Tue, Jan 25, 2011 at 11:56 AM, Dominik Psenner <dpsenner at gmail.com>
> wrote:
> > With hgweb set up on http://<server>/hg/ and browsing the project
> <project>
> > when one shows the url http://<server>/hg/<project>/branches I assume
> that
> > this replicates the command:
> > hgweb behaves exactly like branches with the --closed switch, i.e. `hg
> > branches -c`, which indeed I wouldn't expect.
> 
> yes (imo), this is just something that wasn't implemented when the
> "closed branches" feature was added. i look forward to a patch :)



More information about the Mercurial-devel mailing list