~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Robert Collins
  • Date: 2008-08-13 03:21:19 UTC
  • mto: This revision was merged to the branch mainline in revision 3629.
  • Revision ID: robertc@robertcollins.net-20080813032119-09pl9q0t9gxng5t6
Improve tests for the behaviour of Tree.iter_changes for missing paths that are only present in one tree, and fix found bugs. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
953
953
                self.source._comparison_data(from_entry, path)
954
954
            kind = (from_kind, None)
955
955
            executable = (from_executable, None)
956
 
            changed_content = True
 
956
            changed_content = from_kind is not None
957
957
            # the parent's path is necessarily known at this point.
958
958
            yield(file_id, (path, to_path), changed_content, versioned, parent,
959
959
                  name, kind, executable)