Mercurial > hg
diff hgext/hooklib/changeset_obsoleted.py @ 45391:8b700e9b9fc2
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
author | Aay Jay Chan <aayjaychan@itopia.com.hk> |
---|---|
date | Tue, 18 Aug 2020 22:21:00 +0800 |
parents | 3c2fae87bd5a |
children | 89a2afe31e82 |
line wrap: on
line diff
--- 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 """