# HG changeset patch # User eloimorlaas # Date 2017-02-23 19:23:17 # Node ID 7074589cf22a8083504f47bda8a0e7f01ad804af # Parent 4431add9aef95aa37b44af89c773e194050d15c5 record: update help to describe ui.interface hg help record was not accurate if using another interface than the text one diff --git a/hgext/record.py b/hgext/record.py --- a/hgext/record.py +++ b/hgext/record.py @@ -42,7 +42,8 @@ def record(ui, repo, *pats, **opts): See :hg:`help dates` for a list of formats valid for -d/--date. - You will be prompted for whether to record changes to each + If using the text interface (see :hg:`help config`), + you will be prompted for whether to record changes to each modified file, and for files with multiple changes, for each change to use. For each query, the following responses are possible:: diff --git a/tests/test-qrecord.t b/tests/test-qrecord.t --- a/tests/test-qrecord.t +++ b/tests/test-qrecord.t @@ -39,9 +39,10 @@ help record (record) See 'hg help dates' for a list of formats valid for -d/--date. - You will be prompted for whether to record changes to each modified file, - and for files with multiple changes, for each change to use. For each - query, the following responses are possible: + If using the text interface (see 'hg help config'), you will be prompted + for whether to record changes to each modified file, and for files with + multiple changes, for each change to use. For each query, the following + responses are possible: y - record this change n - skip this change diff --git a/tests/test-record.t b/tests/test-record.t --- a/tests/test-record.t +++ b/tests/test-record.t @@ -22,9 +22,10 @@ Record help See 'hg help dates' for a list of formats valid for -d/--date. - You will be prompted for whether to record changes to each modified file, - and for files with multiple changes, for each change to use. For each - query, the following responses are possible: + If using the text interface (see 'hg help config'), you will be prompted + for whether to record changes to each modified file, and for files with + multiple changes, for each change to use. For each query, the following + responses are possible: y - record this change n - skip this change