Skip to main content

A Mercurial enxtension to pass config options via an environment variable.

Project description

This extension is a utility to pass --config options via the HGCONFIG environment variable. The use-case is for servers that need to set this once then pass it around to child processes (e.g. hooks) and other helpers that don’t necessarily invoke hg via the command-line.

install

Enable envconfig like any mercurial extension: download the source code to a local directory, and add that directory to your .hgrc:

Example config:

[extensions]
envconfig = path/to/hgenvconfig/hgext

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hgenvconfig-0.1.2.tar.gz (10.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page