~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to baz_import.py

  • Committer: abentley
  • Date: 2005-10-15 22:51:43 UTC
  • mto: (147.2.17)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: abentley@lappy-20051015225143-3738a8550e0bb4c7
Allouche: always use a temp dir on the same filesystem

Show diffs side-by-side

added added

removed removed

Lines of Context:
521
521
    log_path = "%s/{arch}/%s/%s/%s/%s/patch-log/%s" % (revdir, 
522
522
        revision.category.nonarch, revision.branch.nonarch, 
523
523
        revision.version.nonarch, revision.archive, revision.patchlevel)
524
 
    temp_path = tempfile.mktemp()
 
524
    temp_path = tempfile.mktemp(dir=os.path.dirname(revdir))
525
525
    os.rename(log_path, temp_path)
526
526
    merges = list(iter_new_merges(revdir, revision.version))
527
527
    direct = direct_merges (merges)