Log templates

Scott Palmer swpalmer at gmail.com
Sat Dec 10 15:48:50 CST 2011


The "user" filter doesn't seem to to the right thing:

I converted a repo from subversion and the users were committed with the subversion repos guid after a @.  E.g.

changeset:   6:3b84af07cb30
user:        scott.palmer at bb17bfd5-26e3-0310-b67b-ca9ce5c526f2
date:        Thu Sep 30 18:08:29 2004 +0000
summary:     Cleaned up build.xml and reorganised files


When I use hg log --template="{auther:user}" the above breaks at the dot instead of the @, e.g:

hg log --template="{rev}:{node|short} {date|isodate} {author|user}\n{desc}\n\n"

6:3b84af07cb30 2004-09-30 18:08 +0000 scott
Cleaned up build.xml and reorganised files

Is that right?

Scott


More information about the Mercurial mailing list