On Fri, Oct 4, 2013 at 3:42 PM, Jan Nijtmans <jan.nijtm...@gmail.com> wrote:

> An empty P-card (or a manifest without a P-card) is allowed for any
> manifest, but then it shouldn't have a space after the P (it would look
> strange in the timeline, here is one:
>     <http://fossil-scm.org/index.html/timeline?c=2013-08-21T14:49:41.624>
> ).
> Of course we could remove the space when there is no parent manifest,
> but that would only mask the problem: in this case the parent blob
> should be there.
>

You are certainly correct. i had the "P " (with space) answer backwards in
my memory, but found a comment to that effect:

    /*
      Evil ugly hack, primarily for round-trip compatibility with
      manifest #1, which has an empty P card.

      fossil(1) ignores empty P-cards in all cases, and must continue
      to do so for backwards compatibility with rid #1 in all repos.

      Pedantic note: there must be no space between the 'P' and the
      newline.
    */
    fsl_deck_append(os, "P\n");


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to