changeset 229:d499ef3ce349

Documented what hook parts are implemented for now
author Franz Glasner <hg@dom66.de>
date Tue, 23 Oct 2018 21:52:43 +0200
parents 6d3d39aaaed9
children c568f5608604
files extensions/timestamps.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/timestamps.py	Tue Oct 23 09:36:55 2018 +0200
+++ b/extensions/timestamps.py	Tue Oct 23 21:52:43 2018 +0200
@@ -748,6 +748,8 @@
 
     This generic dispatcher hook simplifies configuration.
 
+    Current implementations exist for :hg:`revert`.
+
     """
     ui.debug("POST HOOK: " + hooktype + '\n')
     ui.debug("POST HOOK: " + repr(kwds) + '\n')
@@ -774,6 +776,9 @@
 
 
 def update_hook(ui, repo, hooktype, **kwds):
+    """Hook called by :hg:`update` and :hg:`merge`
+
+    """
     if _DEV:
         ui.debug("UPDATE: " + repr(repo) + '\n')
         ui.debug("UPDATE: " + repr(kwds) + '\n')