Rename svn2rss.py's --url option to --item-url, and add support for --feed-url.
Rename svn2rss.py's --url option to --item-url, and add support for
--feed-url.

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

* contrib/hook-scripts/svn2rss.py
  (__doc__): Change to note new/tweaked options.
  (check_url): New function to validate urls
  (__main__): Parse new --item-url and --feed-url options, using
    check_url() to validate the input.  Also, stop recognizing --url options.
  (SVN2RSS.__init__): Accept and store 'feed_url' parameter.  Rename
    'url' parameter to 'item_url'.
  (SVN2RSS.make_rss_item): Use self.item_url now in the item's RSS chunk.
  (SVN2RSS.make_rss): Use self.feed_url when generating the feed, and use
    the basename of the repository path in the feed's title.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@860450 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion