hgweb.cgi shows closed branches

Dominik Psenner dpsenner at gmail.com
Tue Jan 25 09:56:06 UTC 2011


Sorry, I surely wasn't verbose enough with the first message. :-)

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:

hg branches

In my case hgweb.cgi displays all kind of branches, namely:

default 	f72a38c3eafb
AP-2318 	66ff19a9e2cb
AP-2517 	eca32a9f1196
svn 	c481f5b615a4
AP-2384 	fde682ff5d49

Where hg branches behaves completely differently showing only one branch,
namely:

$ hg branches
default                     1343:f72a38c3eafb

hgweb behaves exactly like branches with the --closed switch, i.e. `hg
branches -c`, which indeed I wouldn't expect.

Greetings,
D.

> -----Original Message-----
> From: Erik Zielke [mailto:ez at aragost.com]
> Sent: Tuesday, January 25, 2011 10:27 AM
> To: Dominik Psenner
> Subject: Re: hgweb.cgi shows closed branches
> 
> On 25-01-2011 09:54, Dominik Psenner wrote:
> > Shouldn't they be hidden?
> >
> Well, closed branches is still a part of history. They do however get
> another color, which is set by giving the link to the theme another css
> class. So you can edit the theme to show more clearly that a branch is
> closed or maybe hide the closed branches.
> 
> --
> 
> Erik Zielke
> 
> aragost Trifork ag
> Professional Mercurial Support
> http://www.aragost.com





More information about the Mercurial-devel mailing list