Rev 44: change the parameter to --submit-branch since submit_branch is the config entry. in http://bazaar.launchpad.net/%7Ebzr/bzr-pqm/devel
John Arbash Meinel
john at arbash-meinel.com
Tue Nov 6 03:59:48 GMT 2007
At http://bazaar.launchpad.net/%7Ebzr/bzr-pqm/devel
------------------------------------------------------------
revno: 44
revision-id:john at arbash-meinel.com-20071106035927-akvtsswk9zlcohou
parent: john at arbash-meinel.com-20071106035554-phw09tggwjifrxg9
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: pqm
timestamp: Mon 2007-11-05 21:59:27 -0600
message:
change the parameter to --submit-branch since submit_branch is the config entry.
modified:
__init__.py __init__.py-20060221052551-30932fa7d369a24b
test_pqm_submit.py test_pqm_submit.py-20060221060137-fb48d47216aa0077
-------------- next part --------------
=== modified file '__init__.py'
--- a/__init__.py 2007-11-06 03:55:54 +0000
+++ b/__init__.py 2007-11-06 03:59:27 +0000
@@ -73,12 +73,12 @@
Option('dry-run', help='Print request instead of sending.'),
Option('public-location', type=str,
help='Use this url as the public location to the pqm.'),
- Option('submit-location', type=str,
- help='Use this url as the target submission location.'),
+ Option('submit-branch', type=str,
+ help='Use this url as the target submission branch.'),
]
def run(self, location=None, message=None, public_location=None,
- dry_run=False, submit_location=None):
+ dry_run=False, submit_branch=None):
if __name__ != 'bzrlib.plugins.pqm':
from bzrlib import trace
trace.warning('The bzr-pqm plugin needs to be called'
@@ -100,7 +100,7 @@
% (b.base,))
submit(b, message=message, dry_run=dry_run,
public_location=public_location,
- submit_location=submit_location,
+ submit_location=submit_branch,
tree=tree)
=== modified file 'test_pqm_submit.py'
--- a/test_pqm_submit.py 2007-11-06 03:55:54 +0000
+++ b/test_pqm_submit.py 2007-11-06 03:59:27 +0000
@@ -352,7 +352,7 @@
(out, err, connect_calls,
sendmail_calls) = self.run_bzr_fakemail(
['pqm-submit', '-m', 'commit message',
- '--submit-location', 'http://example.com/submit',
+ '--submit-branch', 'http://example.com/submit',
'./source'
])
self.assertEqual('', out)
More information about the bazaar-commits
mailing list