There should be an API to get the branch referred to by submit:

Bug #304585 reported by Francis J. Lacoste
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Undecided
Unassigned

Bug Description

The submit: location is either the result of get_submit_branch() or get_parent() if the previous returns None. That logic is duplicated in a bunch of places (RevisionSpec_submit, but also in builtins.py).

Having a definitive way to get that information would be useful.

Revision history for this message
John A Meinel (jameinel) wrote :

what specifically are you looking for?

bzr info :submit

Does work for this.

Changed in bzr:
status: New → Incomplete
Revision history for this message
John A Meinel (jameinel) wrote :

I should also mention that "branch.get_submit_location()" also exists if you are looking for a bzrlib api. So I'm going to just mark this as released.

Changed in bzr:
status: Incomplete → Fix Released
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.