~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-05-03 07:11:59 UTC
  • mfrom: (1185.50.93 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060503071159-abd0de926d70d64c
(jam) Fix msgeditor to find platform editors (Olaf Conradi), added tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""Commit message editor support."""
19
19
 
 
20
 
 
21
import errno
20
22
import os
21
 
import errno
22
23
from subprocess import call
 
24
import sys
23
25
 
24
26
import bzrlib.config as config
25
27
from bzrlib.errors import BzrError
26
28
 
 
29
 
27
30
def _get_editor():
28
31
    """Return a sequence of possible editor binaries for the current platform"""
29
32
    try: