[Request] [+ ] D8929: hooklib: update documentation of changeset_obsoletedfor for changed hook type

aayjaychan (Aay Jay Chan) phabricator at mercurial-scm.org
Tue Aug 18 14:48:11 UTC 2020


aayjaychan created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This updates usage example of changeset_obsoleted to reflect the move from
  pretxnclose to txnclose made in 04ef381000a8 <https://phab.mercurial-scm.org/rHG04ef381000a87ff6fb3c0cc1db89a50a046be71c> (hooklib: fix detection of
  successors for changeset_obsoleted).

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8929

AFFECTED FILES
  hgext/hooklib/changeset_obsoleted.py

CHANGE DETAILS

diff --git a/hgext/hooklib/changeset_obsoleted.py b/hgext/hooklib/changeset_obsoleted.py
--- a/hgext/hooklib/changeset_obsoleted.py
+++ b/hgext/hooklib/changeset_obsoleted.py
@@ -13,7 +13,7 @@
   messageidseed = myseed
 
   [hooks]
-  pretxnclose.changeset_obsoleted = \
+  txnclose.changeset_obsoleted = \
     python:hgext.hooklib.changeset_obsoleted.hook
 """
 



To: aayjaychan, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20200818/5dc1a980/attachment-0001.html>


More information about the Mercurial-patches mailing list