Mercurial > hg
changeset 28697:d001d6d27570
record: deprecate the extension
The feature has been moved into core behind the -i flag. We can safely
deprecated the extension and point people at the --interactive flag in core.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 28 Mar 2016 12:50:56 -0700 |
parents | efa192203623 |
children | c756b6791760 |
files | hgext/record.py tests/test-help.t tests/test-qrecord.t tests/test-record.t |
diffstat | 4 files changed, 11 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/record.py Wed Mar 30 02:10:44 2016 +0900 +++ b/hgext/record.py Mon Mar 28 12:50:56 2016 -0700 @@ -5,7 +5,11 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -'''commands to interactively select changes for commit/qrefresh''' +'''commands to interactively select changes for commit/qrefresh (DEPRECATED) + +The feature provided by this extension has been moved into core Mercurial as +:hg:`commit --interactive`.''' + from __future__ import absolute_import from mercurial import (
--- a/tests/test-help.t Wed Mar 30 02:10:44 2016 +0900 +++ b/tests/test-help.t Mon Mar 28 12:50:56 2016 -0700 @@ -272,8 +272,6 @@ patchbomb command to send changesets as (a series of) patch emails purge command to delete untracked files from the working directory - record commands to interactively select changes for - commit/qrefresh relink recreates hardlinks between repository clones schemes extend schemes with shortcuts to repository swarms share share a common history between several working directories
--- a/tests/test-qrecord.t Wed Mar 30 02:10:44 2016 +0900 +++ b/tests/test-qrecord.t Mon Mar 28 12:50:56 2016 -0700 @@ -7,7 +7,7 @@ $ hg help record record extension - commands to interactively select changes for - commit/qrefresh + commit/qrefresh (DEPRECATED) (use "hg help extensions" for information on enabling extensions) @@ -17,6 +17,7 @@ 'qrecord' is provided by the following extension: record commands to interactively select changes for commit/qrefresh + (DEPRECATED) (use "hg help extensions" for information on enabling extensions) @@ -54,6 +55,8 @@ This command is not available when committing a merge. + (use "hg help -e record" to show help for the record extension) + options ([+] can be repeated): -A --addremove mark new/missing files as added/removed before
--- a/tests/test-record.t Wed Mar 30 02:10:44 2016 +0900 +++ b/tests/test-record.t Mon Mar 28 12:50:56 2016 -0700 @@ -41,6 +41,8 @@ This command is not available when committing a merge. + (use "hg help -e record" to show help for the record extension) + options ([+] can be repeated): -A --addremove mark new/missing files as added/removed before