Patchwork D8929: hooklib: update documentation of changeset_obsoletedfor for changed hook type

login
register
mail settings
Submitter phabricator
Date Aug. 18, 2020, 2:48 p.m.
Message ID <differential-rev-PHID-DREV-dhu32cli2u5zqa4h5ei2-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47029/
State Superseded
Headers show

Comments

phabricator - Aug. 18, 2020, 2:48 p.m.
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




To: aayjaychan, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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
 """