Differences between revisions 3 and 6 (spanning 3 versions)
Revision 3 as of 2009-01-07 19:09:23
Size: 1539
Comment: add install instructions to config section
Revision 6 as of 2009-05-25 08:44:41
Size: 1628
Editor: abuehl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
Information / download site: http://www.bitbucket.org/edgimar/mercurial-crew/wiki/Home Information / download site: http://www.bitbucket.org/edgimar/crecord/wiki/Home
Line 11: Line 11:
The crecord extension is a curses (i.e. text-based GUI) interface which provides the `crecord` and `qcrecord` commands that may be used in lieu of `commit` or `qnew -f`. These commands let you choose which parts of the changes in a working directory you'd like to commit, at the granularity of patch hunks or lines. It is similar in spirit to the [http://darcs.net/manual/node7.html#SECTION00761000000000000000 darcs record] command and the RecordExtension. The crecord extension is a curses (i.e. text-based GUI) interface which provides the `crecord` and `qcrecord` commands that may be used in lieu of `commit` or `qnew -f`. These commands let you choose which parts of the changes in a working directory you'd like to commit, at the granularity of patch hunks or lines. It is similar in spirit to the [[http://darcs.net/manual/node7.html#SECTION00761000000000000000|darcs record]] command and the RecordExtension.
Line 21: Line 21:
To install the extension, first download the crecord.py file from the site above, and put it in a folder where you prefer to keep extensions (e.g. $HOME/hgext). To install the extension, first download the crecord archive from the site above, and extract it to a folder where you prefer to keep extensions (e.g. $HOME/hgext).
Line 27: Line 27:
hgext.crecord=/path/to/crecord.py hgext.crecord=/path/to/crecord/package
Line 30: Line 30:
(note: the package directory is the one containing the _ _init_ _.py file)
Line 31: Line 32:
CategoryExtension CategoryExtensionsByOthers

Crecord Extension

This extension is not distributed with Mercurial.

Author: Mark Edgington

Information / download site: http://www.bitbucket.org/edgimar/crecord/wiki/Home

1. Overview

The crecord extension is a curses (i.e. text-based GUI) interface which provides the crecord and qcrecord commands that may be used in lieu of commit or qnew -f. These commands let you choose which parts of the changes in a working directory you'd like to commit, at the granularity of patch hunks or lines. It is similar in spirit to the darcs record command and the RecordExtension.

2. Features

In addition to allowing you to choose changes to commit at a line-level granularity, crecord has the following advantages over the text-only RecordExtension:

  • Ability to scroll through all changes, jumping back and forth between changes.
  • Patch headers and hunks can be folded to make it easy to view only the changes you're interested in.
  • Commit message can be incrementally edited as you work through the changes
  • Color display of changes and trailing whitespace

3. Configuration

To install the extension, first download the crecord archive from the site above, and extract it to a folder where you prefer to keep extensions (e.g. $HOME/hgext).

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

[extensions]
hgext.crecord=/path/to/crecord/package

(note: the package directory is the one containing the _ _init_ _.py file)


CategoryExtensionsByOthers

CrecordExtension (last edited 2016-10-25 15:39:56 by GaborStefanik)