changeset 31065:7074589cf22a stable

record: update help to describe ui.interface hg help record was not accurate if using another interface than the text one
author eloimorlaas <eloimorlaas@fb.com>
date Thu, 23 Feb 2017 11:23:17 -0800
parents 4431add9aef9
children 92bca12328d1 a416d0f1c628
files hgext/record.py tests/test-qrecord.t tests/test-record.t
diffstat 3 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/record.py	Sat Feb 25 16:57:21 2017 +0530
+++ b/hgext/record.py	Thu Feb 23 11:23:17 2017 -0800
@@ -42,7 +42,8 @@
 
     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::
--- a/tests/test-qrecord.t	Sat Feb 25 16:57:21 2017 +0530
+++ b/tests/test-qrecord.t	Thu Feb 23 11:23:17 2017 -0800
@@ -39,9 +39,10 @@
   
       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
--- a/tests/test-record.t	Sat Feb 25 16:57:21 2017 +0530
+++ b/tests/test-record.t	Thu Feb 23 11:23:17 2017 -0800
@@ -22,9 +22,10 @@
   
       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