~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: v.ladeuil+lp at free
  • Date: 2007-01-09 15:44:23 UTC
  • mfrom: (2227 +trunk)
  • mto: (2323.7.1 redirection)
  • mto: This revision was merged to the branch mainline in revision 2390.
  • Revision ID: v.ladeuil+lp@free.fr-20070109154423-lyvr5gmkwv6e0v6h
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
834
834
                                             % to_location)
835
835
            else:
836
836
                raise
837
 
        old_format = bzrdir.BzrDirFormat.get_default_format()
838
 
        bzrdir.BzrDirFormat.set_default_format(bzrdir.BzrDirMetaFormat1())
839
 
        try:
840
 
            source.create_checkout(to_location, revision_id, lightweight)
841
 
        finally:
842
 
            bzrdir.BzrDirFormat.set_default_format(old_format)
 
837
        source.create_checkout(to_location, revision_id, lightweight)
843
838
 
844
839
 
845
840
class cmd_renames(Command):