Differences between revisions 3 and 13 (spanning 10 versions)
Revision 3 as of 2007-12-25 03:17:58
Size: 195
Editor: AarreLaakso
Comment:
Revision 13 as of 2014-11-04 19:50:49
Size: 696
Editor: techtonik
Comment: add link to online view
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
{{{hgeditor}}} is a script provided with Mercurial that is called when files are committed. TipsAndTricks discusses several ways of customizing this script. <<Include(A:stub)>>

''`hgeditor`'' is a script distributed with Mercurial in the ''`examples`'' directory (installed to ''`/usr/share/doc/mercurial/examples/hgeditor`'' on some Linux distributions). By setting the [[HGEDITOR]] environment variable, a user may cause the ''`hgeditor`'' script (or a customized copy of it) to be called when files are committed e.g export HGEDITOR=''`/usr/share/doc/mercurial/examples/hgeditor`''.

If an ''`hgeditor`'' script was not included in your Mercurial distribution, you may [[http://selenic.com/hg/raw-file/tip/hgeditor|download]] or [[http://selenic.com/hg/file/stable/hgeditor|view]] it online.
Line 5: Line 9:
 * ["HGEDITOR"]  * [[editor]]
 * [[
HGEDITOR]]

{i} This page is an incomplete stub. Please help improve this page by expanding it, following our wiki style guidelines.

hgeditor is a script distributed with Mercurial in the examples directory (installed to /usr/share/doc/mercurial/examples/hgeditor on some Linux distributions). By setting the HGEDITOR environment variable, a user may cause the hgeditor script (or a customized copy of it) to be called when files are committed e.g export HGEDITOR=/usr/share/doc/mercurial/examples/hgeditor.

If an hgeditor script was not included in your Mercurial distribution, you may download or view it online.

See also

hgeditor (last edited 2017-01-13 17:26:27 by AntonShestakov)