* contrib/hook-scripts/svn2feed.py (Svn2Atom.add_revision_item):   Make style more Pythonic.   Avoid depending on ordering of XML elements for correct behaviour.   Fix off-by-one error in item pruning.   Fix pruning of only a single item, not properly obeying max_items if it     is decreased from the value previously used with a pre-existing feed.
* contrib/hook-scripts/svn2feed.py (Svn2Atom.add_revision_item):
  Make style more Pythonic.
  Avoid depending on ordering of XML elements for correct behaviour.
  Fix off-by-one error in item pruning.
  Fix pruning of only a single item, not properly obeying max_items if it
    is decreased from the value previously used with a pre-existing feed.

Patch by: me
          Bhuvaneswaran Arumugam <bhuvan@collab.net>

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion