Differences between revisions 40 and 41
Revision 40 as of 2013-08-27 18:59:21
Size: 483
Editor: JeremyB77
Comment:
Revision 41 as of 2013-08-27 19:07:51
Size: 2032
Editor: AugieFackler
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Ok, i'll inroduce myself, i'm Tiny but my hubby doesn't like it also at all. My husband does not mean like it means I do but what I fancy doing is to acquire badges and now i'm trying to build an income with it. Idaho may be the only place I've been residing in. Distributing manufacture is what I do but I've all the time wanted my own company. I've been working on my own website for some time now. Check it all out here: http://kadettc.de/wiki/index.php?title=Benutzer:AileenMac #pragma section-numbers 2
= Record Extension =
'''This extension is distributed with Mercurial.'''

''Author: Bryan O'Sullivan''

<<TableOfContents()>>

== Overview ==
The record extension provides the `record` command, which may be used in lieu of `commit`. 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. It is similar in spirit to the [[http://darcs.net/manual/Darcs_commands.html#SECTION00661000000000000000|darcs record]] command.

The record extension also provides the `qrecord` command, if MqExtension is enabled.

== Configuration ==
Configure your ''`.hgrc`'' to enable the extension by adding following lines:

{{{
[extensions]
record=
}}}

== Usage ==
{{{hg record [OPTION]... [FILE]...}}}

The option to examine changes is offered for each one of the selected files (or all the modified files if none is provided):

{{{
$ hg record my_dir/my_file.ext
examine changes to 'my_dir/my_file.ext'? [Ynsfdaq?]
}}}
where the following responses are possible:

{{{
    y - record this change
    n - skip this change

    s - skip remaining changes to this file
    f - record remaining changes to this file

    d - done, skip remaining changes and files
    a - record all changes to all remaining files
    q - quit, recording no changes

    ? - display help
}}}
If `y` is selected, then each of the patch hunks for the file are offered for acceptance or rejection:

{{{
@@ -164,5 +164,5 @@
                                     #nice comment
                                     ])
     elif options.action:
- print >>sys.stderr, "wrong action"
+ print >>sys.stderr, ";wrong action"
     else:
record this change to 'my_dir/my_file.ext'? [Ynsfdaq?]
}}}
where the previous options can be used with the same meaning.

After file and hunk selection is finished, a normal commit is recorded.

== See also ==
 * [[/Talk|Talk]] page
----
CategoryBundledExtension

Record Extension

This extension is distributed with Mercurial.

Author: Bryan O'Sullivan

1. Overview

The record extension provides the record command, which may be used in lieu of commit. 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. It is similar in spirit to the darcs record command.

The record extension also provides the qrecord command, if MqExtension is enabled.

2. Configuration

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

[extensions]
record=

3. Usage

hg record [OPTION]... [FILE]...

The option to examine changes is offered for each one of the selected files (or all the modified files if none is provided):

$ hg record my_dir/my_file.ext
examine changes to 'my_dir/my_file.ext'? [Ynsfdaq?]

where the following responses are possible:

    y - record this change
    n - skip this change

    s - skip remaining changes to this file
    f - record remaining changes to this file

    d - done, skip remaining changes and files
    a - record all changes to all remaining files
    q - quit, recording no changes

    ? - display help

If y is selected, then each of the patch hunks for the file are offered for acceptance or rejection:

@@ -164,5 +164,5 @@
                                     #nice comment
                                     ])
     elif options.action:
-        print >>sys.stderr, "wrong action"
+        print >>sys.stderr, ";wrong action"
     else:
record this change to 'my_dir/my_file.ext'? [Ynsfdaq?]

where the previous options can be used with the same meaning.

After file and hunk selection is finished, a normal commit is recorded.

4. See also


CategoryBundledExtension

RecordExtension (last edited 2016-03-28 19:59:08 by Pierre-YvesDavid)