Mercurial > public > mercurial-scm > hg-stable
comparison hgext/hooklib/changeset_obsoleted.py @ 45410: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 |
comparison
equal
deleted
inserted
replaced
45409:7d24201b6447 | 45410:8b700e9b9fc2 |
---|---|
11 Usage: | 11 Usage: |
12 [notify] | 12 [notify] |
13 messageidseed = myseed | 13 messageidseed = myseed |
14 | 14 |
15 [hooks] | 15 [hooks] |
16 pretxnclose.changeset_obsoleted = \ | 16 txnclose.changeset_obsoleted = \ |
17 python:hgext.hooklib.changeset_obsoleted.hook | 17 python:hgext.hooklib.changeset_obsoleted.hook |
18 """ | 18 """ |
19 | 19 |
20 from __future__ import absolute_import | 20 from __future__ import absolute_import |
21 | 21 |