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

Bela Babik teki321 at gmail.com
Tue Mar 25 07:42:13 CDT 2008


Hi,

check the templates dir in your mercurial install.
Create a new style file based on this one:
http://selenic.com/repo/index.cgi/hg-stable/file/1e4ddc9ac9f7/templates/map-cmdline.default

teki

On Tue, Mar 25, 2008 at 10:54 PM, Pavol Murin <palomurin at gmail.com> wrote:
> 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
>  _______________________________________________
>  Mercurial mailing list
>  Mercurial at selenic.com
>  http://selenic.com/mailman/listinfo/mercurial
>


More information about the Mercurial mailing list