ANN: hg graphlog extension

Bela Babik teki321 at gmail.com
Sun Mar 25 23:06:15 UTC 2007


I had to replace:
from mercurial.i18n import _
with:
from mercurial.i18n import gettext as _
and it is working now.

On 3/25/07, Joel Rosdahl <joel at rosdahl.net> wrote:
> Hi,
>
> Inspired by the ASCII-art log command recently added to Monotone, I
> hacked together a Mercurial extension that adds an "hg glog" command.
> The output looks approximately like a revision graph displayed by hgk
> combined with the normal "hg log" output, but incremental, faster and
> non-graphical.
>
> See http://www.selenic.com/mercurial/wiki/index.cgi/GraphlogExtension
> for a link to the code.
>
> Example output:
>
>     % hg glog
>     @    changeset:   4276:cb6107f78b92
>     |\   tag:         tip
>     | |  parent:      4269:73c918c71300
>     | |  parent:      4275:81402b2b294d
>     | |  user:        Matt Mackall <mpm at selenic.com>
>     | |  date:        Sat Mar 24 02:57:27 2007 -0500
>     | |  summary:     Merge with crew
>     | |
>     o |  changeset:   4275:81402b2b294d
>     | |  user:        Alexis S. L. Carvalho <alexis at cecm.usp.br>
>     | |  date:        Fri Mar 23 23:40:25 2007 -0300
>     | |  summary:     use os.path.islink instead of util.is_link
>     [...]
>
> I hope it will be useful for others too. Comments are welcome!
>
> --
> Regards,
> Joel Rosdahl <joel at rosdahl.net>
> Key BB845E97; fingerprint 9F4B D780 6EF4 5700 778D  8B22 0064 F9FF BB84 5E97
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>


-- 
teki
http://repcsi.hu/ | http://repcsi.hu/teki/ | http://tekidev.blogspot.com/ (eng)



More information about the Mercurial mailing list