~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to baz_import.py

  • Committer: Robert Collins
  • Date: 2005-09-13 11:25:48 UTC
  • mto: (147.2.6) (364.1.3 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: robertc@robertcollins.net-20050913112547-3d01a7a14f53ddd5
use unique filenames for temp files

Show diffs side-by-side

added added

removed removed

Lines of Context:
482
482
    log_path = "%s/{arch}/%s/%s/%s/%s/patch-log/%s" % (revdir, 
483
483
        revision.category.nonarch, revision.branch.nonarch, 
484
484
        revision.version.nonarch, revision.archive, revision.patchlevel)
485
 
    temp_path = "templog"
 
485
    temp_path = tempfile.mktemp()
486
486
    os.rename(log_path, temp_path)
487
487
    merges = list(pylon.iter_new_merges(revdir, revision.version))
488
488
    direct = direct_merges (merges)