~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: John Arbash Meinel
  • Date: 2006-06-18 02:21:57 UTC
  • mfrom: (1787 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1794.
  • Revision ID: john@arbash-meinel.com-20060618022157-6e33aa9b67c25e4f
[merge] bzr.dev 1787

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import bzrlib
27
27
import bzrlib.config as config
28
28
from bzrlib.errors import BzrError
29
 
from bzrlib.trace import warning, mutter
30
29
 
31
30
 
32
31
def _get_editor():
57
56
    for e in _get_editor():
58
57
        edargs = e.split(' ')
59
58
        try:
60
 
            ## mutter("trying editor: %r", (edargs +[filename]))
61
59
            x = call(edargs + [filename])
62
60
        except OSError, e:
63
61
           # We're searching for an editor, so catch safe errors and continue
144
142
            try:
145
143
                os.unlink(msgfilename)
146
144
            except IOError, e:
147
 
                warning("failed to unlink %s: %s; ignored", msgfilename, e)
 
145
                mutter("failed to unlink %s: %s; ignored", msgfilename, e)
148
146
 
149
147
 
150
148
def make_commit_message_template(working_tree, specific_files):