how to configure the global .hgrc file from the commandline

Uwe Brauer oub at mat.ucm.es
Thu May 28 18:34:28 UTC 2020


>>> "PA" == PIERRE AUGIER <pierre.augier at univ-grenoble-alpes.fr> writes:

   > A side remark on the `hg config --edit` command:
   > I encountered problems with students with the default editor.

   > On Windows, hg tries to open the config file with vi and just prints an error if vi is not available (which is very common)!

   > On Linux, by default, hg opens the config file with vi, and most of my students can't do anything with this editor.

   > It would be great if Mercurial could try to find an installed and easy-to-use editor if no editor is specified in the config files.

   > For people used to vi, it would anyway be very easy to switch to vi.

For people who find Emacs to heavy zile is an good alternative, but I
have now idea whether it would be available on windows.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20200528/050c015c/attachment.p7s>


More information about the Mercurial mailing list