Differences between revisions 1 and 2
Revision 1 as of 2008-12-15 11:40:18
Size: 764
Comment: Add contents to the crecord extension
Revision 2 as of 2008-12-24 18:33:34
Size: 1298
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== CRecord Extension == == Crecord Extension ==
Line 7: Line 7:
Download site: http://www.bitbucket.org/edgimar/mercurial-crew/ Information / download site: http://www.bitbucket.org/edgimar/mercurial-crew/wiki/Home
Line 11: Line 11:
The record extension provides the `crecord` command, which may be used in lieu of `commit` or `qrefresh`. This command lets 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.

=== 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

Crecord Extension

This extension is not distributed with Mercurial.

Author: Mark Edgington

Information / download site: http://www.bitbucket.org/edgimar/mercurial-crew/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 [http://darcs.net/manual/node7.html#SECTION00761000000000000000 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

3. Configuration

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

[extensions]
hgext.crecord=


CategoryExtension

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