• 
      

    Convert the svn hook to new api

    Review Request #3909 — Created Feb. 24, 2013 and submitted

    Information

    Review Board
    master

    Reviewers

    the svn commit hook to set a review request submitted only worked with the pre 1.6 api.
    This patch makes it work with the new api.
    
    It drops support for the old api.
    Tested on my private setup with reviewboard 1.7.4 and subversion 1.7
    Description From Last Updated

    Can you wrap this line to 80 characters?

    daviddavid

    This can all be on one line.

    daviddavid

    There's some trailing whitespace here.

    daviddavid

    This can all be on one line.

    daviddavid

    All one line.

    daviddavid

    Here too.

    daviddavid
    reviewbot
    1. This is a review from Review Bot.
        Tool: PEP8 Style Checker
        Processed Files:
        Ignored Files:
          contrib/tools/svn-hook-set-submitted
      
      
    2. 
        
    david
    1. 
        
    2. contrib/tools/svn-hook-set-submitted (Diff revision 1)
       
       
      Show all issues
      Can you wrap this line to 80 characters?
    3. contrib/tools/svn-hook-set-submitted (Diff revision 1)
       
       
       
       
       
      Show all issues
      This can all be on one line.
    4. contrib/tools/svn-hook-set-submitted (Diff revision 1)
       
       
      Show all issues
      There's some trailing whitespace here.
    5. contrib/tools/svn-hook-set-submitted (Diff revision 1)
       
       
       
       
      Show all issues
      This can all be on one line.
    6. contrib/tools/svn-hook-set-submitted (Diff revision 1)
       
       
       
       
      Show all issues
      All one line.
    7. contrib/tools/svn-hook-set-submitted (Diff revision 1)
       
       
       
       
      Show all issues
      Here too.
    8. 
        
    MV
    reviewbot
    1. This is a review from Review Bot.
        Tool: PEP8 Style Checker
        Processed Files:
        Ignored Files:
          contrib/tools/svn-hook-set-submitted
      
      
    2. 
        
    MV
    reviewbot
    1. This is a review from Review Bot.
        Tool: PEP8 Style Checker
        Processed Files:
        Ignored Files:
          contrib/tools/svn-hook-set-submitted
      
      
    2. 
        
    david
    1. Ship It!
    2. 
        
    MV
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-1.7.x (4159f3d). Thanks!