Last Updated: February 25, 2016
· pykler

Enable HG Extensions for one command

Sometimes you want to enable an extension for just one command (either being on a different machine, or just don't really want to clutter your hgrc for a one time thing) you can use --config directly on the command line, for example to enable the purge extension

hg --config extensions.purge= --help