monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] RFE: have monotone check line endings on commit


From: Ulf Ochsenfahrt
Subject: [Monotone-devel] RFE: have monotone check line endings on commit
Date: Mon, 27 Nov 2006 12:47:30 +0100
User-agent: Icedove 1.5.0.8 (X11/20061121)

Richard Levitte - VMS Whacker wrote:
> In message <address@hidden> on Mon, 27 Nov 2006 08:49:26 +0100, Ulf Ochsenfahrt <address@hidden> said:
>
> I've no problem going with that.
>
> Now, what happens if you leave it disabled, but someone else asks
> monotone to convert between CRLF (native) and LF (internal) for some
> files?  I can see scenarios where such disagreements will lead to,
> uhm, weird stuff, for example if both of you are on Windows (and
> therefore get CRLF as line ending)...
>
> That leads me back to thinking that we still need to mark files that
> are getting changed, and that something automatic should happen to
> them, so a file will look the same checked out as before it got
> checked in.
>
> Cheers,
> Richard

That's easy:
Noone who doesn't use a sane editor gets write access to my repository!

Other things would be nice though, for example if montone would check that the files you try to commit have the correct (project specified) line endings, with an error message such as: You idiot! You messed up the line endings! Use an editor that can handle Unixy endings. :D

Cheers,

-- Ulf

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]