Limit Hg log and equivalent of git-rebase?

Bela Babik teki321 at gmail.com
Fri May 2 02:05:20 CDT 2008


>  Anyway thanks for the tip.

I am using the following alias:
slog = glog -l10 --style slog

You need the alias and glog extension enabled:
http://www.selenic.com/mercurial/wiki/index.cgi/AliasExtension
http://www.selenic.com/mercurial/wiki/index.cgi/GraphlogExtension

"slog" style: by default glog does not display named branch info:

mercurial/templates/map-cmdline.slog:

changeset = '{rev}{tags}{parents} {branches} {node|short}
{date|isodate}   {author|user}\n  {desc|firstline|strip}\n\n'
changeset_quiet = '{rev}:{node|short}\n'
start_tags = '['
tag = '{tag},'
last_tag = '{tag}]'
start_parents = ':'
parent = '{rev},'
last_parent = '{rev}'
start_branches = '|'
branch = '{branch},'
last_branch = '{branch}|'


More information about the Mercurial mailing list