~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_status.py

  • Committer: Robert Collins
  • Date: 2008-09-19 06:53:41 UTC
  • mto: (3696.5.1 commit-updates)
  • mto: This revision was merged to the branch mainline in revision 3741.
  • Revision ID: robertc@robertcollins.net-20080919065341-5t5w1p2gi926nfia
First cut - make it work - at updating the tree stat cache during commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
452
452
        self.build_tree_contents([('alt/a', 'content of a\nfrom alt\n')])
453
453
        alt_id = alt.commit('alt')
454
454
        tree.merge_from_branch(alt.branch)
455
 
        output = StringIO()
 
455
        output = self.make_utf8_encoded_stringio()
456
456
        show_tree_status(tree, to_file=output)
457
457
        self.assertContainsRe(output.getvalue(), 'pending merges:')
458
458
        out, err = self.run_bzr('status tree/a')