changeset 18321:c51d2bc7a5d7 stable

convert: correct 'hooks' section name in online help The section name for hooks is not 'hook', but 'hooks'.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 14 Jan 2013 23:14:45 +0900
parents 40185df018d7
children e819c12a8bd0
files hgext/convert/__init__.py tests/test-convert.t
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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