~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: John Arbash Meinel
  • Date: 2005-12-01 19:27:48 UTC
  • mto: (1185.50.19 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1532.
  • Revision ID: john@arbash-meinel.com-20051201192748-369238cd06ecf7e8
Added osutils.mkdtemp()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1129
1129
        True
1130
1130
        """
1131
1131
        from shutil import copytree
1132
 
        from tempfile import mkdtemp
 
1132
        from bzrlib.osutils import mkdtemp
1133
1133
        base = mkdtemp()
1134
1134
        os.rmdir(base)
1135
1135
        copytree(self.base, base, symlinks=True)