Rev 4544: Fix some comments in the send code. in http://bazaar.launchpad.net/~jameinel/bzr/1.18-bundle-and-stack-393349
John Arbash Meinel
john at arbash-meinel.com
Fri Jul 17 15:41:21 BST 2009
At http://bazaar.launchpad.net/~jameinel/bzr/1.18-bundle-and-stack-393349
------------------------------------------------------------
revno: 4544
revision-id: john at arbash-meinel.com-20090717144102-vuwda098cerggygy
parent: pqm at pqm.ubuntu.com-20090716093725-tb2a3b4hin8uia6j
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 1.18-bundle-and-stack-393349
timestamp: Fri 2009-07-17 09:41:02 -0500
message:
Fix some comments in the send code.
-------------- next part --------------
=== modified file 'bzrlib/send.py'
--- a/bzrlib/send.py 2009-07-15 07:32:26 +0000
+++ b/bzrlib/send.py 2009-07-17 14:41:02 +0000
@@ -77,6 +77,9 @@
submit_branch)
if mail_to is None or format is None:
+ # TODO: jam 20090716 we open the submit_branch here, but we *don't*
+ # pass it down into the format creation, so it will have to
+ # open it again
submit_br = Branch.open(submit_branch)
submit_config = submit_br.get_config()
if mail_to is None:
@@ -126,7 +129,6 @@
if revision_id == NULL_REVISION:
raise errors.BzrCommandError('No revisions to submit.')
if format is None:
- # TODO: Query submit branch for its preferred format
format = format_registry.get()
directive = format(branch, revision_id, submit_branch,
public_branch, no_patch, no_bundle, message, base_revision_id)
More information about the bazaar-commits
mailing list