bzr lp_propose with -m "blah blah" can't bypass message input

Bug #1453717 reported by Shawn Wang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Undecided
Unassigned

Bug Description

$ apt-cache policy bzr
bzr:
  Installed: 2.6.0+bzr6595-6ubuntu1
  Candidate: 2.6.0+bzr6595-6ubuntu1
  Version table:
 *** 2.6.0+bzr6595-6ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status

https://code.launchpad.net/~shawn111/bzr/lp_propose_message/+merge/258742

=== modified file 'bzrlib/plugins/launchpad/lp_propose.py'
--- bzrlib/plugins/launchpad/lp_propose.py 2015-05-11 02:50:32 +0000
+++ bzrlib/plugins/launchpad/lp_propose.py 2012-10-22 16:25:40 +0000
@@ -110,10 +110,8 @@
                 self.target_branch.bzr.unlock()
         finally:
             self.source_branch.bzr.unlock()
- initial_comment = self.commit_message
- if initial_comment is None:
- initial_comment = msgeditor.edit_commit_message(''.join(info),
- start_message=body)
+ initial_comment = msgeditor.edit_commit_message(''.join(info),
+ start_message=body)
         return initial_comment.strip().encode('utf-8')

     def get_initial_body(self):

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This appears to be fixed in newer versions of Bazaar.

Changed in bzr:
status: New → Fix Released
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.