~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Andrew Bennetts
  • Date: 2008-02-18 23:26:27 UTC
  • mto: This revision was merged to the branch mainline in revision 3756.
  • Revision ID: andrew.bennetts@canonical.com-20080218232627-v6cuj0596nh3rw56
Fix test suite, mainly weeding out uses of bzrlib.user_encoding.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2316
2316
                    "please specify either --message or --file")
2317
2317
            if file:
2318
2318
                my_message = codecs.open(file, 'rt', 
2319
 
                                         bzrlib.user_encoding).read()
 
2319
                                         osutils.get_user_encoding()).read()
2320
2320
            if my_message == "":
2321
2321
                raise errors.BzrCommandError("empty commit message specified")
2322
2322
            return my_message