~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

Merge create_checkout_convenience update

Show diffs side-by-side

added added

removed removed

Lines of Context:
762
762
        old_format = bzrdir.BzrDirFormat.get_default_format()
763
763
        bzrdir.BzrDirFormat.set_default_format(bzrdir.BzrDirMetaFormat1())
764
764
        try:
765
 
            bzrdir.BzrDir.create_checkout_convenience(to_location, source,
766
 
                                                      revision_id, lightweight)
 
765
            source.create_checkout_convenience(to_location, revision_id, 
 
766
                                               lightweight)
767
767
        finally:
768
768
            bzrdir.BzrDirFormat.set_default_format(old_format)
769
769