~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: Matthew Fuller
  • Date: 2006-11-11 19:25:25 UTC
  • mto: This revision was merged to the branch mainline in revision 2136.
  • Revision ID: fullermd@over-yonder.net-20061111192525-2as2mi0h2m6id0wd
Include $VISUAL in the list of env variables when we can't start an
editor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        else:
72
72
            break
73
73
    raise BzrError("Could not start any editor.\nPlease specify one with:\n"
74
 
                   " - $BZR_EDITOR\n - editor=/some/path in %s\n - $EDITOR" % \
 
74
                   " - $BZR_EDITOR\n - editor=/some/path in %s\n"
 
75
                   " - $VISUAL\n - $EDITOR" % \
75
76
                    config.config_filename())
76
77
 
77
78