/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2007-12-14 07:35:49 UTC
  • mfrom: (3109 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3111.
  • Revision ID: mbp@sourcefrog.net-20071214073549-wpekccrsxjv77yze
Merge 1.0final back to trunk and bump to 1.1dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
        out, err = self.run_bzr('uncommit --force -r 2')
228
228
 
229
229
        self.assertEqual(['a2', 'b3', 'c3', 'c4', 'b4'], wt.get_parent_ids())
 
230
 
 
231
    def test_uncommit_nonascii(self):
 
232
        tree = self.make_branch_and_tree('tree')
 
233
        tree.commit(u'\u1234 message')
 
234
        out, err = self.run_bzr('uncommit --force tree', encoding='ascii')
 
235
        self.assertContainsRe(out, r'\? message')