Miscellaneous Bazaar-related improvements

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

gustavo
Review Board
reviewboard
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)

Diff:

Revision 2 (+21 -8)

Show changes

david
  1. Submitted as e6004a4. Thanks!
  2. 
      
Loading...