~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

Fix status to work with checkouts

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
    # the revision to be committed, then pause and ask the user to
149
149
    # confirm/write a message.
150
150
    from StringIO import StringIO       # must be unicode-safe
151
 
    from bzrlib.status import show_status
 
151
    from bzrlib.status import show_tree_status
152
152
    status_tmp = StringIO()
153
 
    show_status(working_tree.branch, specific_files=specific_files, to_file=status_tmp)
 
153
    show_tree_status(working_tree, specific_files=specific_files, 
 
154
                     to_file=status_tmp)
154
155
    return status_tmp.getvalue()