[MERGE][0.15] Add a way to specify a template commit message

Alexander Belchenko bialix at ukr.net
Fri Mar 2 16:24:26 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Westby пишет:
> On (06/02/07 12:02), Martin Pool wrote:
>> The handling of the file seems over complicated and it is preferable to
>> have close() in a finally block, particularly on Windows.  How about
>> just 
>>
>>   ... mkstemp
>>   msgfile = os.fdopen(tmp_fileno)
>>   try:
>>     ....
>>   finally:
>>     msgfile.close()
>>
> 
> I've done this. It looks a lot better now I think.

Your previous version was already approved by John and me.
I'm again +1 on this.

- --
Alexander

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF6E+6zYr338mxwCURAlcnAJ9DeKZaPHRkPO9L17SmuVHrrYj5kACeM7in
AxsBM7+DrMndJYrbLCmU/Ag=
=BA1Q
-----END PGP SIGNATURE-----




More information about the bazaar mailing list