Separator character change for files ({files} key) in log

Berkes Adam adam.berkes at intland.com
Thu Nov 27 02:48:50 CST 2008


Matt Mackall írta:
> On Wed, 2008-11-26 at 16:21 +0100, Berkes Adam wrote:
>   
>> See attached patch file
>>     
>
> No can do:
>
> http://www.selenic.com/mercurial/wiki/index.cgi/CompatibilityRules
>
> Anyway, filenames can also contain ';'. The only things they can't
> contain are '\n' and '\0'. And we may eventually make '\n' work too.
>
>   
For me '\n' would be completely fine. You are right that you can put ';' 
into filenames or directory names but we can agree that is extremly rare 
and dangerous.
I thought it about yesterday evening and in base of Bill ideas, it could 
be the best if ALL changelog information can be available by an {xml} 
key (or a -xml output command parameter) for log (with a predefined 
xsl/dtd for that).
My base problem is that rev/node/branch/tag/file/comment information is 
available in cmdutil.py but you have to  play a lot around valid 
key/template combination or even look into python source which I would 
like to really avoid.
I don't know whether anybody is interested in such solutions...

A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial-devel/attachments/20081127/2d2bc79b/attachment.htm 


More information about the Mercurial-devel mailing list