/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: Robert J. Tanner
  • Date: 2009-04-08 03:34:31 UTC
  • mfrom: (4266 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4267.
  • Revision ID: tanner@real-time.com-20090408033431-draj0u7nd9bbby53
Merge 1.14rc1 back bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
419
419
            return self.branch.repository.revision_tree(revision_id)
420
420
        except (errors.RevisionNotPresent, errors.NoSuchRevision):
421
421
            # the basis tree *may* be a ghost or a low level error may have
422
 
            # occured. If the revision is present, its a problem, if its not
 
422
            # occurred. If the revision is present, its a problem, if its not
423
423
            # its a ghost.
424
424
            if self.branch.repository.has_revision(revision_id):
425
425
                raise
561
561
 
562
562
        revision
563
563
            If not None, the cloned tree will have its last revision set to
564
 
            revision, and and difference between the source trees last revision
 
564
            revision, and difference between the source trees last revision
565
565
            and this one merged in.
566
566
        """
567
567
        # assumes the target bzr dir format is compatible.
1967
1967
                        tree_delta.unversioned.extend((unknown_file,))
1968
1968
                raise errors.BzrRemoveChangedFilesError(tree_delta)
1969
1969
 
1970
 
        # Build inv_delta and delete files where applicaple,
 
1970
        # Build inv_delta and delete files where applicable,
1971
1971
        # do this before any modifications to inventory.
1972
1972
        for f in files:
1973
1973
            fid = self.path2id(f)
2224
2224
            parent_trees = [(self.branch.last_revision(), to_tree)]
2225
2225
            merges = self.get_parent_ids()[1:]
2226
2226
            # Ideally we ask the tree for the trees here, that way the working
2227
 
            # tree can decide whether to give us teh entire tree or give us a
 
2227
            # tree can decide whether to give us the entire tree or give us a
2228
2228
            # lazy initialised tree. dirstate for instance will have the trees
2229
2229
            # in ram already, whereas a last-revision + basis-inventory tree
2230
2230
            # will not, but also does not need them when setting parents.