Fix getting bzr file contents when the file was moved in the previous revision.

Review Request #1209 — Created Nov. 10, 2009 and submitted

Information

Review Board
master, release-1.0.5.1

Reviewers

fileid is stable across all operations, but relpath is not. Thus get the fileid
from the most recent revision and then use the revtree to look up the previous content.
successfully tested against the failing bazaar branch, sadly proprietary code.
chipx86
  1. Thanks. Committed on release-1.0.x and master (r7eb6cec).
  2. 
      
chipx86
  1. Some people are encountering breakages with this change. 'tree' is None, so calling 'path2id' on it fails.
    
    What version of bzrlib is this tested against?
    1. The original version was written against 1.18, it's been running with later versions here, too.
  2. 
      
Loading...