Miscellaneous Bazaar-related improvements

Review Request #1741 — Created Aug. 19, 2010 and submitted

Information

Review Board

Reviewers

Here are some fixes to some problems I found while trying the Bazaar integration.
I've done some manual testing, nothing exhaustive.
GU
  1. 
      
  2. reviewboard/scmtools/bzr.py (Diff revision 1)
     
     
    "fileid" is None when the file in "filepath" doesn't exist in the revision "revspec".
  3. reviewboard/scmtools/bzr.py (Diff revision 1)
     
     
    If there's a leading slash and we keep it, we can then tell if it's a local branch which should be preppended with the "file://" scheme -- see below.
  4. not related to Bazaar, but it's a trivial fix
  5. 
      
GU
Review request changed
Change Summary:
Retrieve the fileid in the revision tree of the relevant revision, not the latest revision (where the file may well not exist)
david
  1. Submitted as e6004a4. Thanks!
  2.