Comment 1 for bug 513936

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

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 = Branch.open(tree)
lp = Branch.open('lp:foo')
find_unmerged(local, lp)