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

James Westby jw+debian at jameswestby.net
Tue Feb 27 17:52:57 GMT 2007


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 have attached an updated bundle that attempts to do this.

Thanks,

James

-- 
  James Westby   --    GPG Key ID: B577FE13    --     http://jameswestby.net/
  seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256
-------------- next part --------------
A non-text attachment was scrubbed...
Name: editmsg.diff
Type: text/x-diff
Size: 17246 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070227/43bd9df2/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070227/43bd9df2/attachment-0001.pgp 


More information about the bazaar mailing list