You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Fogel <kf...@newton.ch.collab.net> on 2002/05/08 04:12:20 UTC
Re: svn commit: rev 1901 - trunk/subversion/include trunk/subversion/libsvn_repos
sussman@tigris.org writes:
> + while (stream):
> + {
> + read group of headers into a hash
> +
> + if hash contains revision-number,
> + possibly close_revision() on the old revision baton
> + new_revision_record()
> + else if hash contains node-path,
> + new_node_record()
> +
> + if hash contains content-length,
> + read n bytes of content
> + parse content:
> + call set_*_property() if needed
> + call set_fulltext() if a node
> +
> + if in a node,
> + close_node()
Dang, Ben, you know some _mean_ C!
(Couldn't resist :-) ),
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn commit: rev 1901 - trunk/subversion/include trunk/subversion/libsvn_repos
Posted by Ben Collins-Sussman <su...@collab.net>.
Karl Fogel <kf...@newton.ch.collab.net> writes:
> sussman@tigris.org writes:
> > + while (stream):
> > + {
> > + read group of headers into a hash
> > +
> > + if hash contains revision-number,
> > + possibly close_revision() on the old revision baton
> > + new_revision_record()
> > + else if hash contains node-path,
> > + new_node_record()
> > +
> > + if hash contains content-length,
> > + read n bytes of content
> > + parse content:
> > + call set_*_property() if needed
> > + call set_fulltext() if a node
> > +
> > + if in a node,
> > + close_node()
>
> Dang, Ben, you know some _mean_ C!
>
> (Couldn't resist :-) ),
Bite.
Me.
:-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org