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 details)

Uploaded Source

File details

Details for the file hgenvconfig-0.1.2.tar.gz.

File metadata

  • Download URL: hgenvconfig-0.1.2.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for hgenvconfig-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9c8a408a57a989206897f5401167d629ff011a37aa9840325ec80cf8a7053663
MD5 20b427c632ece6d48aad46e6d6b72494
BLAKE2b-256 d137e356281dc10618d9bec019103e160ace57315002aecc31314677691dba01

See more details on using hashes here.

Supported by

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