Not aware new revisions in parent branch

Bug #513936 reported by Andrew Starr-Bochicchio on 2010-01-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ground Control
Martin Owens

Bug Description

groundcontrol doesn't seem to be aware of new revision in the parent branch that have been made since branching locally. Nor does there seem to be any way to update (ie "bzr pull").

You could check if there are revisions in the parent branch using find_unmerged from bzrlib.missing. If so, the status bar could offer to pull changes from the parent branch on launchpad if there are no local changes or merge changes from the parent branch if there are.

Taking a look at the code for bzr-explorer's repository view could probably provide an example.

Related branches

Here's te basic idea:

import os
import bzrlib.plugins.launchpad
from bzrlib.branch import Branch
from bzrlib.missing import find_unmerged

tree = os.getcwd()
local =
lp ='lp:foo')
find_unmerged(local, lp)

Martin Owens (doctormo) wrote :

We need to be able to resync with the parent branch, even though nautilus flow would not allow us to do the above check against the parent branch without inuring very harsh browsing penalties.

Changed in groundcontrol:
status: New → Confirmed
importance: Undecided → High
Martin Owens (doctormo) on 2010-02-04
Changed in groundcontrol:
status: Confirmed → Fix Committed
assignee: nobody → Martin Owens (doctormo)
milestone: none → 1.2
Martin Owens (doctormo) on 2010-02-04
Changed in groundcontrol:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers