/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: Aaron Bentley
  • Date: 2007-12-20 00:56:46 UTC
  • mfrom: (3131 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3133.
  • Revision ID: aaron.bentley@utoronto.ca-20071220005646-cfebcxoxqtpsk3uo
Merge bzr.dev

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')