Differences between revisions 6 and 10 (spanning 4 versions)
Revision 6 as of 2008-05-14 22:47:15
Size: 459
Editor: TomBa
Comment: link to editor
Revision 10 as of 2011-11-18 10:41:54
Size: 549
Editor: 80
Comment: Fixed link to download hgeditor.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
{{{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. TipsAndTricks discusses several ways of customizing this script. {{{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.

If an {{{hgeditor}}} script
was not included in your Mercurial distribution, you may also find it [[http://selenic.com/hg/raw-file/tip/hgeditor|here]].
Line 5: Line 7:
 * ["editor"]
 * ["HGEDITOR"]
 * [[editor]]
 * [[HGEDITOR]]

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.

If an hgeditor script was not included in your Mercurial distribution, you may also find it here.

See also

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