/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: John Arbash Meinel
  • Date: 2008-03-14 16:23:28 UTC
  • mfrom: (3276 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3279.
  • Revision ID: john@arbash-meinel.com-20080314162328-9uc5ut91w0at3otd
[merge] bzr.dev 3276

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):
2698
2698
        except errors.NoSuchFile:
2699
2699
            raise errors.NoWorkingTree(base=transport.base)
2700
2700
        except KeyError:
2701
 
            raise errors.UnknownFormatError(format=format_string)
 
2701
            raise errors.UnknownFormatError(format=format_string,
 
2702
                                            kind="working tree")
2702
2703
 
2703
2704
    def __eq__(self, other):
2704
2705
        return self.__class__ is other.__class__