hg commit doesn't respect EDITOR
Matt Mackall
mpm at selenic.com
Wed Jun 1 05:28:43 UTC 2005
On Tue, May 31, 2005 at 08:33:02PM -0700, Matt Mackall wrote:
> On Tue, May 31, 2005 at 11:09:19PM -0400, Kevin Smith wrote:
> > I exported EDITOR (my preferred console editor is nano), but hg still
> > brought up vim. I had to export HGEDITOR before my choice was respected.
>
> Eek. Haven't run into that. Must have broken that rather recently.
Can you double-check this? I can't reproduce this here. The relevant
source line is:
editor = os.environ.get("HGEDITOR") or os.environ.get("EDITOR", "vi")
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list