hg log --template "{files}\n" -- spaces in file names

Bela Babik teki321 at gmail.com
Thu May 1 00:20:11 CDT 2008


This was already discussed several times:
ex: http://www.nabble.com/using-template-to-distinguish-between-files-and-files-with-spaces-td16083767.html

teki

On Thu, May 1, 2008 at 2:42 PM, Brian Wallis
<brian.wallis at infomedix.com.au> wrote:
>
>  Is there anyway of getting a list of the files in a changeset such
>  that I can reliably parse them into a list of the full path names if
>  some of the files have spaces in their names? ie:
>
>  $ hg log  -l 1 --template '{files}\n'
>  Products/udr/dev/src/au/com/infomedix/a file Products/udr/dev/src/au/
>  com/infomedix/anotherfile
>
>  The result here could be one, two or three files and there is no way
>  of knowing what it is/
>
>
>  Brian Wallis
>  InfoMedix
>  p: 3 8615 4553 | f: 3 8615 4501 | e: brian.wallis at infomedix.com.au
>  Level 5, 451 Little Bourke Street, Melbourne VIC 3000
>
>
>
>  _______________________________________________
>  Mercurial mailing list
>  Mercurial at selenic.com
>  http://selenic.com/mailman/listinfo/mercurial
>


More information about the Mercurial mailing list