~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Robert Collins
  • Date: 2006-02-12 12:57:15 UTC
  • mto: (1534.1.22 integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robertc@robertcollins.net-20060212125715-75abf487b5ee1f5a
Add update command for use with checkouts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
408
408
        # happens for creating checkouts, which cannot be 
409
409
        # done on this format anyway. So - acceptable wart.
410
410
        result = self.open_workingtree()
411
 
        result.set_last_revision(revision_id)
 
411
        if revision_id is not None:
 
412
            result.set_last_revision(revision_id)
412
413
        return result
413
414
 
414
415
    def get_branch_transport(self, branch_format):