hg log - getting a parseable list of changed files in a revision (e.g. one filename per line)

Pavol Murin palomurin at gmail.com
Tue Mar 25 06:54:44 CDT 2008

hello mercurial users,

 I have a python script that processes output from the hg log -v
command. I'm trying to get the list of files that changed in a
revision. I have problems with files containing whitespace, as the
list in hg log -v is space delimited. I tried 'hg log -v' and
templates, when I use {files}, I just get a space-separated list of
files which is the same as in hg log.

 Is there a way to e.g. get the files one per line?

 thank you, muro

More information about the Mercurial mailing list