On 7/21/06, Bhuvaneswaran Arumugam <bhuvan@collab.net> wrote:
> Hello,
>
> Please find attached the patch.
>
> [[
> Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>
>
> Insert the "entry" element before all other "entry" elements and remove
> the elements from the feed file if it reaches --max-items.
>
> * contrib/hook-scripts/svn2feed.py
> (Svn2Atom.add_revision_item): Locate the "author" element (last
> non-entry element) and insert the new element after it's next sibling.
>
> Calculate the total "entry" elements and remove the last child if the
> total is greater than the --max-items.
> ]]
>
> Design: Locate the "author" element (last non-entry element) and insert
> the "entry" element before its next sibling. I'm unsure if it is the
> efficient way, but feel free to change if you find a better way.
Applied in r20821, thanks!
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 21 20:49:36 2006