~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/missing.py

Fixup pb usage to use nested_progress_bar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
 
29
29
def find_unmerged(local_branch, remote_branch):
30
 
    progress = ui.ui_factory.progress_bar()
 
30
    progress = ui.ui_factory.nested_progress_bar()
31
31
    local_branch.lock_read()
32
32
    try:
33
33
        remote_branch.lock_read()
61
61
            remote_branch.unlock()
62
62
    finally:
63
63
        local_branch.unlock()
64
 
        progress.clear()
 
64
        progress.finished()
65
65
    return (local_extra, remote_extra)
66
66
 
67
67
def _shortcut(local_rev_history, remote_rev_history):