~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-12 18:05:01 UTC
  • mto: This revision was merged to the branch mainline in revision 1871.
  • Revision ID: john@arbash-meinel.com-20060712180501-1a638c0c5b1e7646
Updated WorkingTree to use the new user-level ignores.

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
29
30
 
30
31
 
31
32
def _get_editor():
56
57
    for e in _get_editor():
57
58
        edargs = e.split(' ')
58
59
        try:
 
60
            ## mutter("trying editor: %r", (edargs +[filename]))
59
61
            x = call(edargs + [filename])
60
62
        except OSError, e:
61
63
           # We're searching for an editor, so catch safe errors and continue
142
144
            try:
143
145
                os.unlink(msgfilename)
144
146
            except IOError, e:
145
 
                mutter("failed to unlink %s: %s; ignored", msgfilename, e)
 
147
                warning("failed to unlink %s: %s; ignored", msgfilename, e)
146
148
 
147
149
 
148
150
def make_commit_message_template(working_tree, specific_files):