Richard Levitte - VMS Whacker wrote:
Personally, I find it incredibly dangerous that you can defined the
internal database line ending character...
Me too. I've always argued that the database should have the canonical
form (and that this canonical form should be LF-only for text files and
whatever-the-file-has for binary or other "don't mess with the line
endings" files). My reasoning goes:
1. Everyone's databases should contain the same contents after the same
set of operations, independent of platform.
2. The hash of a file in the DB must thefore be the same for everyone.
2. This hash must therefore be based on a single canonical form.
3. Since LF-only is the most common form for the files monotone is most
often dealing with, choose LF-only as the common form.
--
Jon
_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel