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

Bill Barry after.fallout at gmail.com
Thu May 1 08:03:47 CDT 2008


Is it possible to do this from a command line with no external files?

Brian Wallis wrote:
> On 01/05/2008, at 6:01 PM, Alpár Jüttner wrote:
>
>   
>> Hi,
>>
>>     
>>> It is still not exactly clear but I got what I wanted working.
>>>       
>> Please, let me know how did you do that. I tried this:
>>
>>     
>
> Certainly. I created a very small style file and used that (details  
> below). It would be easy to tailor this output to whatever you need.
>
>
> flatmac42% cat ~/short.style
> changeset = '-----\nrev={rev}:{node|short}\nparents={parents}\nfiles= 
> \n{files}'
> file     = '{file|escape}\n'
>
> flatmac42% hg -v log -l2 --style ~/short.style
> -----
> rev=3666:25c76cd50cb0
> parents=3664:7c9ce07f143d
> files=
> Products/udr/dev/src/au/com/infomedix/http/HttpHandler.java
> -----
> rev=3665:aa5015d82502
> parents=
> files=
> Products/Components/src/au/com/infomedix/http/ 
> HandlerConfigurationException.java
> Products/Components/src/au/com/infomedix/http/HandlerLoadException.java
> Products/Components/src/au/com/infomedix/http/ 
> HandlerNotFoundException.java
> Products/Components/src/au/com/infomedix/http/HandlerUtility.java
> Products/Components/src/au/com/infomedix/http/HttpHandler.java
> Products/Components/src/au/com/infomedix/http/HttpRequest.java
> Products/Components/src/au/com/infomedix/http/HttpResponse.java
> Products/Components/src/au/com/infomedix/http/LogRequestFilter.java
> Products/Components/src/au/com/infomedix/http/NotFoundException.java
> Products/Components/src/au/com/infomedix/http/RequestHandler.java
> Products/Components/src/au/com/infomedix/http/ 
> RequestHandlerException.java
> Products/Components/src/au/com/infomedix/http/RequestHandlerLoader.java
> Products/Components/src/au/com/infomedix/http/RequestHandlerMapper.java
> Products/Components/src/au/com/infomedix/http/ServiceServlet.java
> Products/udr/dev/src/au/com/infomedix/http/ 
> HandlerConfigurationException.java
> Products/udr/dev/src/au/com/infomedix/http/HandlerLoadException.java
> Products/udr/dev/src/au/com/infomedix/http/HandlerNotFoundException.java
> Products/udr/dev/src/au/com/infomedix/http/HandlerUtility.java
> Products/udr/dev/src/au/com/infomedix/http/HttpHandler.java
> Products/udr/dev/src/au/com/infomedix/http/HttpRequest.java
> Products/udr/dev/src/au/com/infomedix/http/HttpResponse.java
> Products/udr/dev/src/au/com/infomedix/http/LogRequestFilter.java
> Products/udr/dev/src/au/com/infomedix/http/NotFoundException.java
> Products/udr/dev/src/au/com/infomedix/http/RequestHandler.java
> Products/udr/dev/src/au/com/infomedix/http/RequestHandlerException.java
> Products/udr/dev/src/au/com/infomedix/http/RequestHandlerLoader.java
> Products/udr/dev/src/au/com/infomedix/http/RequestHandlerMapper.java
> Products/udr/dev/src/au/com/infomedix/http/ServiceServlet.java
>
> 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
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080501/293d4fa9/attachment.htm 


More information about the Mercurial mailing list