# HG changeset patch # User FUJIWARA Katsunori # Date 1358172885 -32400 # Node ID c51d2bc7a5d7d6e97c7a8140308acc439219dbc2 # Parent 40185df018d7b2f240f7c8864e1749ac34b8fcae convert: correct 'hooks' section name in online help The section name for hooks is not 'hook', but 'hooks'. diff -r 40185df018d7 -r c51d2bc7a5d7 hgext/convert/__init__.py --- 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. diff -r 40185df018d7 -r c51d2bc7a5d7 tests/test-convert.t --- 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