pqm-submit: support for bound branches

Robert Collins robertc at robertcollins.net
Mon Mar 6 00:38:19 GMT 2006


=== modified file 'a/pqm_submit.py'
--- a/pqm_submit.py
+++ b/pqm_submit.py
@@ -93,6 +93,12 @@
     target_base = config.public_branch()
 
     if not target_base:
+        try:
+            target_base = branch.get_bound_location()
+        except AttributeError:
+            pass
+
+    if not target_base:
         target_base = branch.get_push_location()
 
     if not target_base:



This lets one have a branch bound to its nominal public location, which
is sftp published to a slightly different url, and submit from the
public location by:

bzr push
bzr pqm-submit -m foo

Rob


-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060306/888d56cc/attachment.pgp 


More information about the bazaar mailing list