/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/builtins.py

  • Committer: Robert Collins
  • Date: 2006-02-12 09:40:15 UTC
  • mto: (1534.1.22 integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robertc@robertcollins.net-20060212094015-0fba37745716a3d9
Implement -r limit for checkout command.

Show diffs side-by-side

added added

removed removed

Lines of Context:
624
624
    branch being checked out. [Not implemented yet.]
625
625
    """
626
626
    takes_args = ['branch_location', 'to_location?']
627
 
    # takes_options = ['revision', 'basis']
 
627
    takes_options = ['revision'] # , 'basis']
628
628
 
629
629
    def run(self, branch_location, to_location=None, revision=None, basis=None):
630
630
        if revision is None:
652
652
                raise
653
653
        checkout = bzrdir.BzrDirMetaFormat1().initialize(to_location)
654
654
        branch.BranchReferenceFormat().initialize(checkout, source)
655
 
        checkout.create_workingtree()
 
655
        checkout.create_workingtree(revision_id)
656
656
 
657
657
 
658
658
class cmd_renames(Command):