~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: Alexander Belchenko
  • Date: 2007-09-06 11:59:59 UTC
  • mto: (2839.6.2 3)
  • mto: This revision was merged to the branch mainline in revision 2884.
  • Revision ID: bialix@ukr.net-20070906115959-512lrh7jb9rll98d
some win32-specific fixes for selftest

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
 
103
103
    if not start_message is None:
104
104
        start_message = start_message.encode(bzrlib.user_encoding)
105
 
    return edit_commit_message_encoded(infotext.encode(bzrlib.user_encoding),
106
 
                                       ignoreline, start_message)
 
105
    infotext = infotext.encode(bzrlib.user_encoding, 'replace')
 
106
    return edit_commit_message_encoded(infotext, ignoreline, start_message)
107
107
 
108
108
 
109
109
def edit_commit_message_encoded(infotext, ignoreline=DEFAULT_IGNORE_LINE,