~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

Merge from integration

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
        TODO FIXME RBC 20060124 when we have checkout formats in place this
321
321
        should accept an optional revisionid to checkout [and reject this if
322
322
        checking out into the same dir as a pre-checkout-aware branch format.]
 
323
 
 
324
        XXX: When BzrDir is present, these should be created through that 
 
325
        interface instead.
323
326
        """
324
327
        try:
325
328
            os.mkdir(directory)
347
350
        """Create a checkout and a branch and a repo at directory.
348
351
 
349
352
        Directory must exist and be empty.
 
353
 
 
354
        XXX: When BzrDir is present, these should be created through that 
 
355
        interface instead.
350
356
        """
351
357
        directory = safe_unicode(directory)
352
358
        b = bzrdir.BzrDir.create_branch_and_repo(directory)