hgweb page with hg log -b <branchname>

Greg Ward greg-hg at gerg.ca
Tue Jan 5 12:09:36 CST 2010


On Tue, Dec 29, 2009 at 5:17 PM, Sune Foldager <cryo at cyanite.org> wrote:
> Hello Johan, crew and list :)
>
> Some genereal comments on this...
>
> Showing a log filtered by branch name (like log -b) seems only partially
> useful... because technically the commits tagged with a given name don't
> really constitute a "branch" in a graph sense. For that, all ancestors
> would need to be included. With hg log, this would mean something like
> "hg log -f -r <branch name>", for the tip-most head of the branch at
> least. For others, the revision must be provided directly.

Technically you are completely correct.  Practically, though, I think
most people think of a branch as a topological thing, and most of the
time they are mostly correct.  Filtering by branch is IMHO a very
important feature of 'hg log', and adding it to hgweb would be a big
win.  (I'd also love it if 'hg glog' could filter by branch.)

In other words: go Johan!  I hope this feature gets in, if it hasn't already.

Greg


More information about the Mercurial-devel mailing list