Differences between revisions 1 and 18 (spanning 17 versions)
Revision 1 as of 2010-04-14 18:39:15
Size: 409
Editor: PaulLambert
Comment:
Revision 18 as of 2010-04-14 21:10:19
Size: 1904
Editor: PaulLambert
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Extension Name == == Cedit ==
Line 3: Line 3:
'''This extension is/is not distributed with Mercurial.''' [[Instructions for setting a username without manually editing your hgrc]]

'''This extension is not distributed with Mercurial.'''
Line 13: Line 15:
Command Line editor for Mercurial configuration files. Features both an interactive editor and an options parsing mode. Simplifies Mercurial configuration so that users never have to manually edit their hgrc / Mercurial.ini files, if they so choose.

Cedit does have a bootstrapping feature - you don't have to manually touch your configuration files to install this extension (unlike almost every other Mercurial extension). Simply run "python start.py" and you should be good to go.
Line 14: Line 20:
Configure your .hgrc to enable the extension by adding following lines:
If you have just installed mercurial, this will get you going:

{{{
hg clone http://bitbucket.org/paulitex/cedit/
cd cedit
python start.py
}}}

Now you should be able to run 'hg setuser' to set your username and 'hg cedit' to launch the interactive configuration editor.


NOTE TO WINDOWS USERS: To run the bootstrapping script it is required that you have Python installed and in your path. It is not sufficient to have Mercurial installed. If you have Mercurial installed but not Python, you can still use the extension by manually adding it to your Mercurial.ini file. Using something like
Line 18: Line 36:
... config = /path/to/cedit/directory/
Line 21: Line 39:
for example, mine is

{{{
[extensions]
config = /Users/paulrl/cedit
}}}

IMPORTANT: the extension should point to the extension's containing folder, not the .py (config.py) - unlike almost every other extension.

Again this is all only necessary if you don't have Python in your path, otherwise a simple "python start.py" will take care of all of this for you.

Cedit

Instructions for setting a username without manually editing your hgrc

This extension is not distributed with Mercurial.

Author: Paul Lambert

Download site: http://bitbucket.org/paulitex/cedit/

Tested with: Mercurial >= 1.4.3

Overview

Command Line editor for Mercurial configuration files. Features both an interactive editor and an options parsing mode. Simplifies Mercurial configuration so that users never have to manually edit their hgrc / Mercurial.ini files, if they so choose.

Cedit does have a bootstrapping feature - you don't have to manually touch your configuration files to install this extension (unlike almost every other Mercurial extension). Simply run "python start.py" and you should be good to go.

Configuration

If you have just installed mercurial, this will get you going:

hg clone http://bitbucket.org/paulitex/cedit/
cd cedit
python start.py

Now you should be able to run 'hg setuser' to set your username and 'hg cedit' to launch the interactive configuration editor.

NOTE TO WINDOWS USERS: To run the bootstrapping script it is required that you have Python installed and in your path. It is not sufficient to have Mercurial installed. If you have Mercurial installed but not Python, you can still use the extension by manually adding it to your Mercurial.ini file. Using something like

[extensions]
config = /path/to/cedit/directory/

for example, mine is

[extensions]
config = /Users/paulrl/cedit

IMPORTANT: the extension should point to the extension's containing folder, not the .py (config.py) - unlike almost every other extension.

Again this is all only necessary if you don't have Python in your path, otherwise a simple "python start.py" will take care of all of this for you.


CategoryExtension CategoryExtensionsByOthers

CeditExtension (last edited 2011-04-02 00:22:37 by GregWard)