~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-13 19:58:22 UTC
  • mto: This revision was merged to the branch mainline in revision 1869.
  • Revision ID: john@arbash-meinel.com-20060713195822-965e2c4422506a75
cleanup pass, allow pycurl connections to be shared between transports.

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."""
 
366
        """Return `Tree` object for last revision.
 
367
 
 
368
        If there are no revisions yet, return an `EmptyTree`.
 
369
        """
367
370
        return self.repository.revision_tree(self.last_revision())
368
371
 
369
372
    def rename_one(self, from_rel, to_rel):