4c9eca565470

Add a nicer template to the show alias.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 30 Sep 2009 03:45:52 -0400
parents cbbf5d2089be
children 81200c537073
branches/tags (none)
files .hgrc

Changes

--- a/.hgrc	Wed Sep 30 02:53:52 2009 -0400
+++ b/.hgrc	Wed Sep 30 03:45:52 2009 -0400
@@ -27,7 +27,7 @@
 killitwithfire = revert --no-backup --all
 kittens = parents
 fold = collapse
-show = log --color=always -pr
+show = log --template 'changeset:  {rev}:{node|short} \033[33;40m{tags}\033[37;40m\033[35;40m{branches}\033[37;40m\nauthor:     {author}\ndate:       {date|rfc822date} ({date|age} ago)\nsummary:    {desc|firstline}\n\nadded:   \033[32;40m{file_adds}\033[37;40m\nremoved: \033[31;40m{file_dels}\033[37;40m\nchanged: \033[36;40m{file_mods}\033[37;40m\n\n' --color=always -pr
 nudge = push --rev .
 
 [diff]