[issue759] hg log doesn't expand {file_adds} and {file_dels} from templates
Dorin Marinca
mercurial-bugs at selenic.com
Wed Oct 3 00:20:40 UTC 2007
New submission from Dorin Marinca <dorin.marinca at gmail.com>:
On Windows XP, Mercurial 0.9.4, the expansion of templates containing
{file_adds} and {file_dels} (described in hgbook) doesn't work - it's always
empty. However adds and removes can be seen using hg log --debug as lists of
files prefixed with 'files+' and 'files-'. adds/dels seem to be not expanded
neither with hgweb.
D:\hgrep>hg log --template "file_adds: {file_adds}\n"
file_adds:
file_adds:
file_adds:
[...]
D:\hgrep>hg version
Mercurial Distributed SCM (version bbdcdc7f170e+20070829)
[...]
D:\hgrep>hg showconfig
email.from=[...]
email.to=[...]
extdiff.cmd.kdiff=hg_kdiff3_extdiff.bat
extdiff.cmd.vdiff=vim
extdiff.opts.vdiff=-f '+next' '+execute "DirDiff" argv(0) argv(1)'
extensions.hgext.extdiff=
extensions.hgext.fetch=
extensions.hgext.graphlog=
extensions.hgext.imerge=
extensions.hgext.purge=
extensions.hgext.transplant=
extensions.hgext.win32text=
paths.default=[...]
smtp.server=[...]
smtp.username=[...]
ui.editor=notepad
ui.username=[...]
web.allow_archive=zip
web.contact=[...]
web.deny_pull=*
web.deny_push=*
web.description=[...]
web.name=[...]
web.port=6867
web.style=gitweb
Are there regression tests on this point?
----------
messages: 4064
nosy: dim
priority: bug
status: unread
title: hg log doesn't expand {file_adds} and {file_dels} from templates
topic: hgweb, ui, windows
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue759>
____________________________________________________
More information about the Mercurial-devel
mailing list