hg view vs. hg glog

Alpár Jüttner alpar at cs.elte.hu
Fri Nov 7 10:20:19 CST 2008


On Fri, 2008-11-07 at 17:05 +0100, Peter Arrenbrecht wrote:
> On Fri, Nov 7, 2008 at 4:05 PM, Alpár Jüttner <alpar at cs.elte.hu> wrote:
> > Hi,
> >
> > I've read on this list that 'hg glog' uses a more sophisticated
> > algorithm for visualizing the revision graph than 'hg view' does.
> > Indeed, 'hg glog' can sometimes create a much narrower graph.
> >
> > However 'hg view' is much better in a very important aspect: it tends to
> > put the heads on the top of the graph, while with 'hg glog' the tip is
> > on the top (of course), but the additional heads tends to disappear
> > somewhere below.
> >
> > Wouldn't it be possible to raise the heads to the top in 'hg glog', too?
> 

> hg glog currently walks the revs in commit order. It thus mimicks hg
> log. Hence, I guess, its name. So I don't think this will change.

If true, it a said news. I still hope the opposit.

> But
> I plan on looking into hg glog --merge to show only merge and head
> nodes.

Is that really useful? The merge commits typically give very few
information. For example here is the last 20 merge commits of the
hg-crew. I cannot distill too much from them.


7318:7315,7317   95e1260b8134   2008-11-06 10:39 +0100   benoit
  merge bookmarks

7292:7290,7291   1493d1e05ca3   2008-10-29 10:55 -0700   brendan
  hgweb coal/paper: Restore IE compatibility hack

7289:7286,7288   ddab62b2fec4   2008-10-29 11:39 +0100   dirkjan
  merge with mpm

7272:7271,7268   9105467b8167   2008-10-28 00:03 +0100   benoit
  merge with crew

7263:7249,7262   7e2e3aacc5dc   2008-10-27 13:52 +0100   benoit
  merge with dsop

7248:7243,7247   723d7a2e6ec0   2008-10-27 13:17 +0100   benoit
  merge with crew

7242:7240,7241   2fef3051ebb3   2008-10-26 14:02 +0100   pmezard
  Merge with crew-stable

7240:7239,7238   37657dc5c65e   2008-10-25 15:34 +0200   benoit
  merge with crew

7223:7220,7222   5d14b06b1cc1   2008-10-23 15:44 +0200   pmezard
  Merge with crew-stable

7194:7193,7190   040e325e4f69   2008-10-20 18:29 +0200   thomas
  merge with crew

7189:7186,7188   8bbbba2a1a9c   2008-10-20 14:58 +0200   dirkjan
  merge with crew-stable, again

7188:7184,7187   1f07e2e86974   2008-10-20 14:57 +0200   dirkjan
  merge with crew-stable

7185:7183,7184   67ba74938b15   2008-10-20 14:52 +0200   dirkjan
  merge with crew-stable

7179:7177,7178   3d080733a339   2008-10-19 22:07 +0200   thomas
  merge with crew-stable

7176:7175,7173   14848fc8e26c   2008-10-19 20:29 +0200   benoit
  merge with crew

7173:7172,7168   37dd322adc81   2008-10-19 19:10 +0200   thomas
  Merge with crew

7167:7166,7165   e62c33732c18   2008-10-19 13:00 +0200   benoit
  merge with crew

7159:7158,7156   a634e0065295   2008-10-18 16:53 -0700   brendan
  Merge with crew

7156:7155,7153   ba897f6dc934   2008-10-19 01:29 +0200   benoit
  merge with crew

7146:7145,7143   266324983681   2008-10-18 23:20 +0200   benoit
  merge with crew

Best regards,
Alpar




More information about the Mercurial mailing list