hooklib: update documentation of changeset_obsoletedfor for changed hook type
authorAay Jay Chan <aayjaychan@itopia.com.hk>
Tue, 18 Aug 2020 22:21:00 +0800
changeset 45391 8b700e9b9fc2
parent 45390 7d24201b6447
child 45392 c25efc468a49
hooklib: update documentation of changeset_obsoletedfor for changed hook type This updates usage example of changeset_obsoleted to reflect the move from pretxnclose to txnclose made in 04ef381000a8 (hooklib: fix detection of successors for changeset_obsoleted). Differential Revision: https://phab.mercurial-scm.org/D8929
hgext/hooklib/changeset_obsoleted.py
--- a/hgext/hooklib/changeset_obsoleted.py	Fri Aug 14 20:45:49 2020 -0700
+++ b/hgext/hooklib/changeset_obsoleted.py	Tue Aug 18 22:21:00 2020 +0800
@@ -13,7 +13,7 @@
   messageidseed = myseed
 
   [hooks]
-  pretxnclose.changeset_obsoleted = \
+  txnclose.changeset_obsoleted = \
     python:hgext.hooklib.changeset_obsoleted.hook
 """