edit version history (author,date or commit message)

Hans Meine meine at informatik.uni-hamburg.de
Wed Jan 20 06:27:52 CST 2010


On Wednesday 20 January 2010 10:58:51 you wrote:
> 2010/1/20 Hans Meine <meine at informatik.uni-hamburg.de>:
> > Anyhow, I think that GUIs nowadays still lack support for more basic
> > things(*), so I wonder how long it would take to adapt all GUIs to
> > display the changed information.
> >
> > *: For instance, IMHO GUIs should differentiate between "real" changesets
> > and those that
> > - set tags
> > - close branches
> > - are *pure* merges (not so easy to detect with current hg API, is it?)
> 
> very easy :-)  (assuming I understand what "pure" merges do) :
> len(ctx.parents()) == 2 and not ctx.files()

Indeed, works.  It couldn't be simpler, at least for merges of disjoint sets 
of files.

I locally patched hgview to deemphasize all these changesets now.  Let's see 
how this works out.

Have a nice day,
  Hans


More information about the Mercurial mailing list