Commits

Fredrik Håård  committed df6ba50

more updates of readme

  • Participants
  • Parent commits 7915f2b

Comments (0)

Files changed (1)

  <reponame>.tests
   Tests to run for the repository named <reponame> (in addition to global)
 
-Custom hooks are expected to take five arguments (check the example hook)::
+Custom hooks are expected to take four arguments::
 
  repo - hg repo object from hgapi
  user - username
  start - first revision (number) pushed
  end - last revision pushed
 
+Hooks should return zero on success (if pretxn*-hook). Check
+autohook.autohook.example_hook for an example.
+
 Sample config::
  
  [hooks]
  [autohook]
  loadpath=/path/to/hooks
  loadmodules=hookmodule
- tests = adds_branch hookmodule.myhoo
+ tests = adds_branch hookmodule.myhook
 
 Installation
 ------------