Fix path calculation and revision specification for hgsubversion client.

Review Request #3326 — Created Sept. 12, 2012 and submitted

Information

RBTools
master

Reviewers

1. Fix calculation of base_path and path. Previous calculations would strip the username field from the repository and then use the length of that to calculate the base_path:
    svn://username@test.com/repo => svn://test.com/repo
                                    svn://username@test.com/repo/trunk
   base_path would then be calculated as ".com/repo/trunk" instead of "/trunk".
2. Allow users to specify a revision to diff against when posting reviews.
Two tests added, all previous tests pass.
AN
david
  1. Ship It!
  2. 
      
AN
Review request changed
Status:
Completed
Change Summary:
Pushed to master (6acc507). Thanks!