[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] OS-specific line endings
From: |
Patrick Georgi |
Subject: |
Re: [Monotone-devel] OS-specific line endings |
Date: |
Sat, 03 Jul 2010 21:48:09 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.4) Gecko/20100608 Lightning/1.0b2pre Thunderbird/3.1 |
Am 03.07.2010 21:07, schrieb Stephen Leake:
> As I pointed out in my other post, line endings simply don't matter to
> most open source text processing tools.
Some of them use native line endings for new files. But I suppose that
can probably be changed, too.
I'm not sure how useful "we don't support broken tools" is. That might
be a deal-breaker for those who might want to use mtn but require such
broken tools (with no short-term remedy).
Your per-file attributes seem to be more useful (and can be easily
provided defaults for by extending attr_init_functions). Maybe it makes
sense to cache post-translation hashes for files with that attribute in
_MTN, to have something to quickly compare against locally?
> If we have a way to call an appropriate hook in calculate_ident, then it
> can be used for any symmetrical file munging; line endings, character
> set conversion, encrypting, etc.
character set translation isn't necessarily symmetric.
Patrick
Re: [Monotone-devel] OS-specific line endings, Thomas Keller, 2010/07/03
Re: [Monotone-devel] OS-specific line endings, Stephen Leake, 2010/07/04
Re: [Monotone-devel] OS-specific line endings, Stephen Leake, 2010/07/04