Differences between revisions 1 and 2
Revision 1 as of 2013-10-31 15:15:34
Size: 1158
Comment:
Revision 2 as of 2013-10-31 15:16:39
Size: 1142
Comment: Whoops.
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
Repository: ''https://bmearns@bitbucket.org/bmearns/hgcfg'' Repository: ''https://bitbucket.org/bmearns/hgcfg''
Line 14: Line 14:
Web page: ''https://bmearns@bitbucket.org/bmearns/hgcfg/'' Web page: ''https://bitbucket.org/bmearns/hgcfg/''

hgcfg

Display or modify local, user, and global configuration.

1. Status

This extension is not distributed with Mercurial.

Author: Brian Mearns

Repository: https://bitbucket.org/bmearns/hgcfg

Web page: https://bitbucket.org/bmearns/hgcfg/

For detailed documentation, please see the webpage listed above.

2. Overview

Provides three commands:

  • hg cfg - Query or configure keys from all relevant configuration files.

  • hg listcfgs - List all configuration files that are relevant to the current repository.

  • hg editcfg - Edit a local, user, or global config file using HG's configured EDITOR.

This extension also provides a basic API that other extensions can use to poke around and modify config files, instead of hacking on the text directly.

3. Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
hgcfg = /path/to/hgcfg/hgext/hgcfg.py

4. See also


CategoryExtensionsByOthers

HgcfgExtension (last edited 2013-10-31 15:16:39 by MaytagMetalark)