changeset 9074:b4f259c1667a

record: wrapped docstrings at 78 characters
author Martin Geisler <mg@lazybytes.net>
date Tue, 07 Jul 2009 23:54:42 +0200
parents ec1cd3176625
children 03c2462724ac
files hgext/record.py tests/test-qrecord.out tests/test-record.out
diffstat 3 files changed, 12 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/record.py	Tue Jul 07 23:54:42 2009 +0200
+++ b/hgext/record.py	Tue Jul 07 23:54:42 2009 +0200
@@ -357,15 +357,14 @@
 def record(ui, repo, *pats, **opts):
     '''interactively select changes to commit
 
-    If a list of files is omitted, all changes reported by "hg status"
-    will be candidates for recording.
+    If a list of files is omitted, all changes reported by "hg status" will be
+    candidates for recording.
 
     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:
+    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
@@ -388,8 +387,7 @@
 def qrecord(ui, repo, patch, *pats, **opts):
     '''interactively record a new patch
 
-    See 'hg help qnew' & 'hg help record' for more information and
-    usage.
+    See 'hg help qnew' & 'hg help record' for more information and usage.
     '''
 
     try:
--- a/tests/test-qrecord.out	Tue Jul 07 23:54:42 2009 +0200
+++ b/tests/test-qrecord.out	Tue Jul 07 23:54:42 2009 +0200
@@ -28,8 +28,7 @@
 
 interactively record a new patch
 
-    See 'hg help qnew' & 'hg help record' for more information and
-    usage.
+    See 'hg help qnew' & 'hg help record' for more information and usage.
 
 options:
 
--- a/tests/test-record.out	Tue Jul 07 23:54:42 2009 +0200
+++ b/tests/test-record.out	Tue Jul 07 23:54:42 2009 +0200
@@ -3,15 +3,14 @@
 
 interactively select changes to commit
 
-    If a list of files is omitted, all changes reported by "hg status"
-    will be candidates for recording.
+    If a list of files is omitted, all changes reported by "hg status" will be
+    candidates for recording.
 
     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:
+    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