[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] line endings as project policy
From: |
Daniel Lakeland |
Subject: |
Re: [Monotone-devel] line endings as project policy |
Date: |
Thu, 23 Nov 2006 12:11:06 -0800 |
User-agent: |
Mutt/1.5.9i |
On Wed, Nov 22, 2006 at 10:40:58AM +0100, Richard Levitte - VMS Whacker wrote:
> - We need to convert line endings to the local standard on anything
> that's assumed to be text on checkout. This I regard as a fact.
> (see the problem that some Unixly programs have with embedded \r)
Consider languages like Python that have the ability to create
multiline strings, now the \r or \n characters are part of the
string. Converting them changes the behavior and meaning of the
program. This is very tricky.
Example:
mystring = """This string
Has several
New line characters
embedded in it
suppose the contents were executable code
embedded in this string
can we safely convert the newlines?
No
"""
--
Daniel Lakeland
address@hidden
http://www.street-artists.org/~dlakelan
- Re: [Monotone-devel] Re: line endings as project policy, (continued)
- [Monotone-devel] Re: line endings as project policy, Bruce Stephens, 2006/11/27
- Re: [Monotone-devel] line endings as project policy, Nicolas Ruiz, 2006/11/28
- Re: [Monotone-devel] line endings as project policy, Ulf Ochsenfahrt, 2006/11/25
- Re: [Monotone-devel] line endings as project policy, hendrik, 2006/11/22
- Re: [Monotone-devel] line endings as project policy, Nuno Lucas, 2006/11/22
- Re: [Monotone-devel] line endings as project policy, Joel Crisp, 2006/11/24
- Re: [Monotone-devel] line endings as project policy, Richard Levitte - VMS Whacker, 2006/11/22
- [Monotone-devel] Re: line endings as project policy, Lapo Luchini, 2006/11/24
- Re: [Monotone-devel] line endings as project policy,
Daniel Lakeland <=
- Re: [Monotone-devel] line endings as project policy, Brian May, 2006/11/24
- Re: [Monotone-devel] line endings as project policy, Justin Patrin, 2006/11/24
- Re: [Monotone-devel] line endings as project policy, Richard Levitte - VMS Whacker, 2006/11/25
- Re: [Monotone-devel] line endings as project policy, Daniel Lakeland, 2006/11/28
Re: [Monotone-devel] line endings as project policy, Nathaniel Smith, 2006/11/22