Rev 2467: (robertc) Fix the bzr commit message to be in text mode. (Alexander Belchenko) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Mon Apr 30 03:23:47 BST 2007


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 2467
revision-id: pqm at pqm.ubuntu.com-20070430022343-wnbvslzfz6fpyyj7
parent: pqm at pqm.ubuntu.com-20070426211103-h84prqh7a4ad3ez2
parent: robertc at robertcollins.net-20070430014939-mjnji1bq7zulpjlv
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2007-04-30 03:23:43 +0100
message:
  (robertc) Fix the bzr commit message to be in text mode. (Alexander Belchenko)
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/msgeditor.py            msgeditor.py-20050901111708-ef6d8de98f5d8f2f
    ------------------------------------------------------------
    revno: 2466.1.1
    merged: robertc at robertcollins.net-20070430014939-mjnji1bq7zulpjlv
    parent: pqm at pqm.ubuntu.com-20070426211103-h84prqh7a4ad3ez2
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: integration
    timestamp: Mon 2007-04-30 11:49:39 +1000
    message:
      Fix the bzr commit message to be in text mode. (Alexander Belchenko)
=== modified file 'NEWS'
--- a/NEWS	2007-04-26 18:53:33 +0000
+++ b/NEWS	2007-04-30 01:49:39 +0000
@@ -11,6 +11,8 @@
       empty value. And when the value is not ASCII.
       (John Arbash Meinel, #109613)
 
+    * Fix the bzr commit message to be in text mode.
+      (Alexander Belchenko, #110901)
 
 bzr 0.16rc1  2007-04-26
 

=== modified file 'bzrlib/msgeditor.py'
--- a/bzrlib/msgeditor.py	2007-02-26 21:48:05 +0000
+++ b/bzrlib/msgeditor.py	2007-04-30 01:49:39 +0000
@@ -103,7 +103,9 @@
 
     msgfilename = None
     try:
-        tmp_fileno, msgfilename = tempfile.mkstemp(prefix='bzr_log.', dir=u'.')
+        tmp_fileno, msgfilename = tempfile.mkstemp(prefix='bzr_log.',
+                                                   dir=u'.',
+                                                   text=True)
         msgfile = os.fdopen(tmp_fileno, 'w')
         try:
             if start_message is not None:




More information about the bazaar-commits mailing list