~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

Merge Tree.changes_from work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
363
363
        raise NotImplementedError('pull is abstract')
364
364
 
365
365
    def basis_tree(self):
366
 
        """Return `Tree` object for last revision.
367
 
 
368
 
        If there are no revisions yet, return an `EmptyTree`.
369
 
        """
 
366
        """Return `Tree` object for last revision."""
370
367
        return self.repository.revision_tree(self.last_revision())
371
368
 
372
369
    def rename_one(self, from_rel, to_rel):