~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transform.py

  • Committer: Aaron Bentley
  • Date: 2006-02-22 14:39:42 UTC
  • mto: (2027.1.2 revert-subpath-56549)
  • mto: This revision was merged to the branch mainline in revision 1570.
  • Revision ID: abentley@panoramicfeedback.com-20060222143942-ae72299f2de66767
Fixed build_tree with symlinks

Show diffs side-by-side

added added

removed removed

Lines of Context:
877
877
    elif kind == 'directory':
878
878
        return tt.new_directory(name, parent_id, entry.file_id)
879
879
    elif kind == 'symlink':
880
 
        target = entry.get_symlink_target(file_id)
881
 
        return tt.new_symlink(name, parent_id, target, file_id)
 
880
        target = tree.get_symlink_target(entry.file_id)
 
881
        return tt.new_symlink(name, parent_id, target, entry.file_id)
882
882
 
883
883
def create_by_entry(tt, entry, tree, trans_id, lines=None, mode_id=None):
884
884
    """Create new file contents according to an inventory entry."""