error with vi on windows

Daniel Santa Cruz byteshack at gmail.com
Mon May 1 13:17:31 CDT 2006


IIRC, notepad does not play very nice.

On 4/27/06, Andrew Thompson <andrewkt at aktzero.com> wrote:
> On Wed, Apr 26, 2006 at 07:05:04PM -0700, Jack McInerney wrote:
> > C:\JackStuff\temtem>hg commit
> > 'vi' is not recognized as an internal or external command,
> > operable program or batch file.
> > abort: edit failed: vi exited with status 1
> > transaction abort!
> > rollback completed
> >
> > Is vi the vi editor from unix? Do I need that installed on this
> > computer?
>
> Right click on My Computer, click properties. Click Advanced.
> Click Environment Variables...
>
> >From either the top section(only for your user) or the bottom(whole
> computer), choose New...
>
> For Variable Name, enter: EDITOR
> For Variable Value, enter: "Path to editor of choice, in quotes"
>
> If notepad is sufficient, just enter: notepad.exe
>
> Click OK, OK, and OK.
>
> Close any existing DOS window sessions(or reboot for good measure).
>
> Try your commit again.
>
> --
> Andrew Thompson
> http://aktzero.com/
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>



More information about the Mercurial mailing list