~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-03-10 23:39:45 UTC
  • mfrom: (3254.1.4 public-iter-changes)
  • Revision ID: pqm@pqm.ubuntu.com-20080310233945-ed3k1rc4g1p9qcpj
Make Tree.iter_changes a public method (abentley)

Show diffs side-by-side

added added

removed removed

Lines of Context:
508
508
        basis = self.basis_tree()
509
509
        basis.lock_read()
510
510
        try:
511
 
            changes = self._iter_changes(basis, True, [self.id2path(file_id)],
 
511
            changes = self.iter_changes(basis, True, [self.id2path(file_id)],
512
512
                require_versioned=True).next()
513
513
            changed_content, kind = changes[2], changes[6]
514
514
            if not changed_content:
1935
1935
            has_changed_files = len(unknown_nested_files) > 0
1936
1936
            if not has_changed_files:
1937
1937
                for (file_id, path, content_change, versioned, parent_id, name,
1938
 
                     kind, executable) in self._iter_changes(self.basis_tree(),
 
1938
                     kind, executable) in self.iter_changes(self.basis_tree(),
1939
1939
                         include_unchanged=True, require_versioned=False,
1940
1940
                         want_unversioned=True, specific_files=files):
1941
1941
                    if versioned == (False, False):