Christian Ohler <[EMAIL PROTECTED]> writes:

> Stephen Leake, 2007-05-10:
>
>> Then the stanza should start with 'status', since there needs to be a
>> line that reliably starts a stanza
>
> Not really.  Manifests also have two alternative forms of stanzas, one
> starting with 'file', one starting with 'dir'.

Ah. So parsing that output into stanzas must rely on the whitespace.

However, currently I rely on the first line in an automate inventory
stanza being "path" in tests/automate_inventory. That could change to
any first line, but it must be a reliable first line.

I guess it could be "either one of these lines indicates a stanza
start", as long as the other line does not occur in the same stanza.

It would be better in the long run to be able to rely on the blank
lines to separate stanzas.

-- 
-- Stephe


_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to