~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

[patch] Commit editor temporary files now start with 'bzr_log.' (Magnus Therning)

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        ignoreline = "-- This line and the following will be ignored --"
80
80
        
81
81
    try:
82
 
        tmp_fileno, msgfilename = tempfile.mkstemp()
 
82
        tmp_fileno, msgfilename = tempfile.mkstemp(prefix='bzr_log.', dir='.')
83
83
        msgfile = os.close(tmp_fileno)
84
84
        if infotext is not None and infotext != "":
85
85
            hasinfo = True