[prev in list] [next in list] [prev in thread] [next in thread]
List: mercurial-devel
Subject: Re: Separator character change for files ({files} key) in log
From: Berkes Adam <adam.berkes () intland ! com>
Date: 2008-11-27 8:48:50
Message-ID: 492E5EF2.2030005 () intland ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
[Attachment #5 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Matt Mackall írta:
<blockquote cite="mid:1227773293.3196.40.camel@calx" type="cite">
<pre wrap="">On Wed, 2008-11-26 at 16:21 +0100, Berkes Adam wrote:
</pre>
<blockquote type="cite">
<pre wrap="">See attached patch file
</pre>
</blockquote>
<pre wrap=""><!---->
No can do:
<a class="moz-txt-link-freetext" \
href="http://www.selenic.com/mercurial/wiki/index.cgi/CompatibilityRules">http://www.selenic.com/mercurial/wiki/index.cgi/CompatibilityRules</a>
Anyway, filenames can also contain ';'. The only things they can't
contain are '\n' and '\0'. And we may eventually make '\n' work too.
</pre>
</blockquote>
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. <br>
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). <br>
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.<br>
I don't know whether anybody is interested in such solutions...<br>
<br>
A<br>
</body>
</html>
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@selenic.com
http://selenic.com/mailman/listinfo/mercurial-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic