~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

Crufty but existing _iter_changes implementation for WorkingTreeFormat4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
474
474
        """
475
475
        file_id = osutils.safe_file_id(file_id)
476
476
        basis = self.basis_tree()
477
 
        changes = self._iter_changes(basis, True, [file_id]).next()
 
477
        changes = self._iter_changes(basis, True, [self.id2path(file_id)],
 
478
            require_versioned=True).next()
478
479
        changed_content, kind = changes[2], changes[6]
479
480
        if not changed_content:
480
481
            return basis.annotate_iter(file_id)