convert: correct 'hooks' section name in online help stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Mon, 14 Jan 2013 23:14:45 +0900
branchstable
changeset 18321 c51d2bc7a5d7
parent 18292 40185df018d7
child 18322 e819c12a8bd0
convert: correct 'hooks' section name in online help The section name for hooks is not 'hook', but 'hooks'.
hgext/convert/__init__.py
tests/test-convert.t
--- a/hgext/convert/__init__.py	Thu Jan 10 15:33:14 2013 +0100
+++ b/hgext/convert/__init__.py	Mon Jan 14 23:14:45 2013 +0900
@@ -191,12 +191,12 @@
         branch indicated in the regex as the second parent of the
         changeset. Default is ``{{mergefrombranch ([-\\w]+)}}``
 
-    :hook.cvslog: Specify a Python function to be called at the end of
+    :hooks.cvslog: Specify a Python function to be called at the end of
         gathering the CVS log. The function is passed a list with the
         log entries, and can modify the entries in-place, or add or
         delete them.
 
-    :hook.cvschangesets: Specify a Python function to be called after
+    :hooks.cvschangesets: Specify a Python function to be called after
         the changesets are calculated from the CVS log. The
         function is passed a list with the changeset entries, and can
         modify the changesets in-place, or add or delete them.
--- a/tests/test-convert.t	Thu Jan 10 15:33:14 2013 +0100
+++ b/tests/test-convert.t	Mon Jan 14 23:14:45 2013 +0900
@@ -172,11 +172,11 @@
                     will add the most recent revision on the branch indicated in
                     the regex as the second parent of the changeset. Default is
                     "{{mergefrombranch ([-\w]+)}}"
-      hook.cvslog   Specify a Python function to be called at the end of
+      hooks.cvslog  Specify a Python function to be called at the end of
                     gathering the CVS log. The function is passed a list with
                     the log entries, and can modify the entries in-place, or add
                     or delete them.
-      hook.cvschangesets
+      hooks.cvschangesets
                     Specify a Python function to be called after the changesets
                     are calculated from the CVS log. The function is passed a
                     list with the changeset entries, and can modify the