[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Re: monotone & CVS import
From: |
graydon hoare |
Subject: |
Re: [Monotone-devel] Re: monotone & CVS import |
Date: |
12 Nov 2003 16:35:38 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Nathaniel Smith <address@hidden> writes:
> On Wed, Nov 12, 2003 at 10:28:40AM -0500, graydon hoare wrote:
> > space character is an unfortunate special case becuse some data in
> > monotone is whitespace delimited (manifest entries and historical
> > rename certs). so .. hmm. I think manifests would survive introducing
> > space as an allowed character since they have exactly 40 characters of
> > hex as their first component, and then 2 spaces, then "rest of line" as
> > the path name. can't add '\n', but I don't think many files have that.
>
> sha1sum appears to have interestingly undocumented behaviour here.
wow, that's .. awful. spaces I will fiddle around and probably
support. newlines, tabs, non-printing characters, probably not. not
unless there's a persuative i18n reason and a strong, code-by-code
analysis of the security affects on ascii-based filesystems.
> How about <len1>:<len bytes>\n<len2>:<len bytes>? That should be easy
> to parse for both computers and humans, while getting that nice sexpy
> goodness going...
yeah. something simple like that, at least for the rename certs. the
xdelta format I made up works pretty much like that. it helps to keep
it readable, for debugging.
-graydon
- Re: [Monotone-devel] Spaces in filenames, UTF-8, and newlines (was: monotone & CVS import), (continued)
- Re: [Monotone-devel] Re: monotone & CVS import, Jeremy Fitzhardinge, 2003/11/12
- Re: [Monotone-devel] Re: monotone & CVS import, graydon hoare, 2003/11/12
- Re: [Monotone-devel] Re: monotone & CVS import, Nathaniel Smith, 2003/11/12
- Re: [Monotone-devel] Re: monotone & CVS import, Ori Berger, 2003/11/12
- Re: [Monotone-devel] Re: monotone & CVS import, Nathaniel Smith, 2003/11/12
- Re: [Monotone-devel] Re: monotone & CVS import, graydon hoare, 2003/11/12
- Re: [Monotone-devel] Re: monotone & CVS import, Jeremy Fitzhardinge, 2003/11/13
- Re: [Monotone-devel] Re: monotone & CVS import, Nathaniel Smith, 2003/11/12
- Re: [Monotone-devel] Re: monotone & CVS import,
graydon hoare <=